AttivazionePolicyFiltroModel.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.controllo_traffico.model;

  21. import org.openspcoop2.core.controllo_traffico.AttivazionePolicyFiltro;

  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 AttivazionePolicyFiltro
  28.  *
  29.  * @author Poli Andrea (poli@link.it)
  30.  * @author $Author$
  31.  * @version $Rev$, $Date$
  32.  */
  33. public class AttivazionePolicyFiltroModel extends AbstractModel<AttivazionePolicyFiltro> {

  34.     public AttivazionePolicyFiltroModel(){
  35.    
  36.         super();
  37.    
  38.         this.ENABLED = new Field("enabled",boolean.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  39.         this.PROTOCOLLO = new Field("protocollo",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  40.         this.RUOLO_PORTA = new Field("ruolo-porta",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  41.         this.NOME_PORTA = new Field("nome-porta",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  42.         this.TIPO_FRUITORE = new Field("tipo-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  43.         this.NOME_FRUITORE = new Field("nome-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  44.         this.RUOLO_FRUITORE = new Field("ruolo-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  45.         this.SERVIZIO_APPLICATIVO_FRUITORE = new Field("servizio-applicativo-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  46.         this.TIPO_EROGATORE = new Field("tipo-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  47.         this.NOME_EROGATORE = new Field("nome-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  48.         this.RUOLO_EROGATORE = new Field("ruolo-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  49.         this.SERVIZIO_APPLICATIVO_EROGATORE = new Field("servizio-applicativo-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  50.         this.TAG = new Field("tag",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  51.         this.TIPO_SERVIZIO = new Field("tipo-servizio",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  52.         this.NOME_SERVIZIO = new Field("nome-servizio",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  53.         this.VERSIONE_SERVIZIO = new Field("versione-servizio",java.lang.Integer.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  54.         this.AZIONE = new Field("azione",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  55.         this.TOKEN_CLAIMS = new Field("token-claims",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  56.         this.INFORMAZIONE_APPLICATIVA_ENABLED = new Field("informazione-applicativa-enabled",boolean.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  57.         this.INFORMAZIONE_APPLICATIVA_TIPO = new Field("informazione-applicativa-tipo",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  58.         this.INFORMAZIONE_APPLICATIVA_NOME = new Field("informazione-applicativa-nome",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  59.         this.INFORMAZIONE_APPLICATIVA_VALORE = new Field("informazione-applicativa-valore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  60.    
  61.     }
  62.    
  63.     public AttivazionePolicyFiltroModel(IField father){
  64.    
  65.         super(father);
  66.    
  67.         this.ENABLED = new ComplexField(father,"enabled",boolean.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  68.         this.PROTOCOLLO = new ComplexField(father,"protocollo",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  69.         this.RUOLO_PORTA = new ComplexField(father,"ruolo-porta",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  70.         this.NOME_PORTA = new ComplexField(father,"nome-porta",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  71.         this.TIPO_FRUITORE = new ComplexField(father,"tipo-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  72.         this.NOME_FRUITORE = new ComplexField(father,"nome-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  73.         this.RUOLO_FRUITORE = new ComplexField(father,"ruolo-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  74.         this.SERVIZIO_APPLICATIVO_FRUITORE = new ComplexField(father,"servizio-applicativo-fruitore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  75.         this.TIPO_EROGATORE = new ComplexField(father,"tipo-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  76.         this.NOME_EROGATORE = new ComplexField(father,"nome-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  77.         this.RUOLO_EROGATORE = new ComplexField(father,"ruolo-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  78.         this.SERVIZIO_APPLICATIVO_EROGATORE = new ComplexField(father,"servizio-applicativo-erogatore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  79.         this.TAG = new ComplexField(father,"tag",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  80.         this.TIPO_SERVIZIO = new ComplexField(father,"tipo-servizio",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  81.         this.NOME_SERVIZIO = new ComplexField(father,"nome-servizio",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  82.         this.VERSIONE_SERVIZIO = new ComplexField(father,"versione-servizio",java.lang.Integer.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  83.         this.AZIONE = new ComplexField(father,"azione",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  84.         this.TOKEN_CLAIMS = new ComplexField(father,"token-claims",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  85.         this.INFORMAZIONE_APPLICATIVA_ENABLED = new ComplexField(father,"informazione-applicativa-enabled",boolean.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  86.         this.INFORMAZIONE_APPLICATIVA_TIPO = new ComplexField(father,"informazione-applicativa-tipo",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  87.         this.INFORMAZIONE_APPLICATIVA_NOME = new ComplexField(father,"informazione-applicativa-nome",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  88.         this.INFORMAZIONE_APPLICATIVA_VALORE = new ComplexField(father,"informazione-applicativa-valore",java.lang.String.class,"attivazione-policy-filtro",AttivazionePolicyFiltro.class);
  89.    
  90.     }
  91.    
  92.    

  93.     public IField ENABLED = null;
  94.      
  95.     public IField PROTOCOLLO = null;
  96.      
  97.     public IField RUOLO_PORTA = null;
  98.      
  99.     public IField NOME_PORTA = null;
  100.      
  101.     public IField TIPO_FRUITORE = null;
  102.      
  103.     public IField NOME_FRUITORE = null;
  104.      
  105.     public IField RUOLO_FRUITORE = null;
  106.      
  107.     public IField SERVIZIO_APPLICATIVO_FRUITORE = null;
  108.      
  109.     public IField TIPO_EROGATORE = null;
  110.      
  111.     public IField NOME_EROGATORE = null;
  112.      
  113.     public IField RUOLO_EROGATORE = null;
  114.      
  115.     public IField SERVIZIO_APPLICATIVO_EROGATORE = null;
  116.      
  117.     public IField TAG = null;
  118.      
  119.     public IField TIPO_SERVIZIO = null;
  120.      
  121.     public IField NOME_SERVIZIO = null;
  122.      
  123.     public IField VERSIONE_SERVIZIO = null;
  124.      
  125.     public IField AZIONE = null;
  126.      
  127.     public IField TOKEN_CLAIMS = null;
  128.      
  129.     public IField INFORMAZIONE_APPLICATIVA_ENABLED = null;
  130.      
  131.     public IField INFORMAZIONE_APPLICATIVA_TIPO = null;
  132.      
  133.     public IField INFORMAZIONE_APPLICATIVA_NOME = null;
  134.      
  135.     public IField INFORMAZIONE_APPLICATIVA_VALORE = null;
  136.      

  137.     @Override
  138.     public Class<AttivazionePolicyFiltro> getModeledClass(){
  139.         return AttivazionePolicyFiltro.class;
  140.     }
  141.    
  142.     @Override
  143.     public String toString(){
  144.         if(this.getModeledClass()!=null){
  145.             return this.getModeledClass().getName();
  146.         }else{
  147.             return "N.D.";
  148.         }
  149.     }

  150. }