ConfigurazioneFiltroModel.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.core.plugins.model;

  21. import org.openspcoop2.core.plugins.ConfigurazioneFiltro;

  22. import org.openspcoop2.generic_project.beans.AbstractModel;
  23. import org.openspcoop2.generic_project.beans.IField;
  24. import org.openspcoop2.generic_project.beans.Field;
  25. import org.openspcoop2.generic_project.beans.ComplexField;


  26. /**    
  27.  * Model ConfigurazioneFiltro
  28.  *
  29.  * @author Poli Andrea (poli@link.it)
  30.  * @author $Author$
  31.  * @version $Rev$, $Date$
  32.  */
  33. public class ConfigurazioneFiltroModel extends AbstractModel<ConfigurazioneFiltro> {

  34.     public ConfigurazioneFiltroModel(){
  35.    
  36.         super();
  37.    
  38.         this.NOME = new Field("nome",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  39.         this.DESCRIZIONE = new Field("descrizione",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  40.         this.TIPO_MITTENTE = new Field("tipo-mittente",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  41.         this.NOME_MITTENTE = new Field("nome-mittente",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  42.         this.IDPORTA_MITTENTE = new Field("idporta-mittente",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  43.         this.TIPO_DESTINATARIO = new Field("tipo-destinatario",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  44.         this.NOME_DESTINATARIO = new Field("nome-destinatario",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  45.         this.IDPORTA_DESTINATARIO = new Field("idporta-destinatario",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  46.         this.TIPO_SERVIZIO = new Field("tipo-servizio",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  47.         this.NOME_SERVIZIO = new Field("nome-servizio",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  48.         this.VERSIONE_SERVIZIO = new Field("versione-servizio",java.lang.Integer.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  49.         this.AZIONE = new Field("azione",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  50.    
  51.     }
  52.    
  53.     public ConfigurazioneFiltroModel(IField father){
  54.    
  55.         super(father);
  56.    
  57.         this.NOME = new ComplexField(father,"nome",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  58.         this.DESCRIZIONE = new ComplexField(father,"descrizione",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  59.         this.TIPO_MITTENTE = new ComplexField(father,"tipo-mittente",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  60.         this.NOME_MITTENTE = new ComplexField(father,"nome-mittente",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  61.         this.IDPORTA_MITTENTE = new ComplexField(father,"idporta-mittente",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  62.         this.TIPO_DESTINATARIO = new ComplexField(father,"tipo-destinatario",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  63.         this.NOME_DESTINATARIO = new ComplexField(father,"nome-destinatario",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  64.         this.IDPORTA_DESTINATARIO = new ComplexField(father,"idporta-destinatario",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  65.         this.TIPO_SERVIZIO = new ComplexField(father,"tipo-servizio",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  66.         this.NOME_SERVIZIO = new ComplexField(father,"nome-servizio",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  67.         this.VERSIONE_SERVIZIO = new ComplexField(father,"versione-servizio",java.lang.Integer.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  68.         this.AZIONE = new ComplexField(father,"azione",java.lang.String.class,"configurazione-filtro",ConfigurazioneFiltro.class);
  69.    
  70.     }
  71.    
  72.    

  73.     public IField NOME = null;
  74.      
  75.     public IField DESCRIZIONE = null;
  76.      
  77.     public IField TIPO_MITTENTE = null;
  78.      
  79.     public IField NOME_MITTENTE = null;
  80.      
  81.     public IField IDPORTA_MITTENTE = null;
  82.      
  83.     public IField TIPO_DESTINATARIO = null;
  84.      
  85.     public IField NOME_DESTINATARIO = null;
  86.      
  87.     public IField IDPORTA_DESTINATARIO = null;
  88.      
  89.     public IField TIPO_SERVIZIO = null;
  90.      
  91.     public IField NOME_SERVIZIO = null;
  92.      
  93.     public IField VERSIONE_SERVIZIO = null;
  94.      
  95.     public IField AZIONE = null;
  96.      

  97.     @Override
  98.     public Class<ConfigurazioneFiltro> getModeledClass(){
  99.         return ConfigurazioneFiltro.class;
  100.     }
  101.    
  102.     @Override
  103.     public String toString(){
  104.         if(this.getModeledClass()!=null){
  105.             return this.getModeledClass().getName();
  106.         }else{
  107.             return "N.D.";
  108.         }
  109.     }

  110. }