PortaDelegataModel.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.commons.search.model;

  21. import org.openspcoop2.core.commons.search.PortaDelegata;

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

  34.     public PortaDelegataModel(){
  35.    
  36.         super();
  37.    
  38.         this.NOME = new Field("nome",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  39.         this.STATO = new Field("stato",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  40.         this.ID_SOGGETTO = new org.openspcoop2.core.commons.search.model.IdSoggettoModel(new Field("id-soggetto",org.openspcoop2.core.commons.search.IdSoggetto.class,"porta-delegata",PortaDelegata.class));
  41.         this.TIPO_SOGGETTO_EROGATORE = new Field("tipo_soggetto_erogatore",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  42.         this.NOME_SOGGETTO_EROGATORE = new Field("nome_soggetto_erogatore",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  43.         this.TIPO_SERVIZIO = new Field("tipo_servizio",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  44.         this.NOME_SERVIZIO = new Field("nome_servizio",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  45.         this.VERSIONE_SERVIZIO = new Field("versione_servizio",java.lang.Integer.class,"porta-delegata",PortaDelegata.class);
  46.         this.MODE_AZIONE = new Field("mode_azione",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  47.         this.NOME_AZIONE = new Field("nome_azione",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  48.         this.NOME_PORTA_DELEGANTE_AZIONE = new Field("nome_porta_delegante_azione",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  49.         this.CANALE = new Field("canale",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  50.         this.PORTA_DELEGATA_SERVIZIO_APPLICATIVO = new org.openspcoop2.core.commons.search.model.PortaDelegataServizioApplicativoModel(new Field("porta-delegata-servizio-applicativo",org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo.class,"porta-delegata",PortaDelegata.class));
  51.         this.PORTA_DELEGATA_AZIONE = new org.openspcoop2.core.commons.search.model.PortaDelegataAzioneModel(new Field("porta-delegata-azione",org.openspcoop2.core.commons.search.PortaDelegataAzione.class,"porta-delegata",PortaDelegata.class));
  52.    
  53.     }
  54.    
  55.     public PortaDelegataModel(IField father){
  56.    
  57.         super(father);
  58.    
  59.         this.NOME = new ComplexField(father,"nome",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  60.         this.STATO = new ComplexField(father,"stato",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  61.         this.ID_SOGGETTO = new org.openspcoop2.core.commons.search.model.IdSoggettoModel(new ComplexField(father,"id-soggetto",org.openspcoop2.core.commons.search.IdSoggetto.class,"porta-delegata",PortaDelegata.class));
  62.         this.TIPO_SOGGETTO_EROGATORE = new ComplexField(father,"tipo_soggetto_erogatore",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  63.         this.NOME_SOGGETTO_EROGATORE = new ComplexField(father,"nome_soggetto_erogatore",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  64.         this.TIPO_SERVIZIO = new ComplexField(father,"tipo_servizio",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  65.         this.NOME_SERVIZIO = new ComplexField(father,"nome_servizio",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  66.         this.VERSIONE_SERVIZIO = new ComplexField(father,"versione_servizio",java.lang.Integer.class,"porta-delegata",PortaDelegata.class);
  67.         this.MODE_AZIONE = new ComplexField(father,"mode_azione",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  68.         this.NOME_AZIONE = new ComplexField(father,"nome_azione",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  69.         this.NOME_PORTA_DELEGANTE_AZIONE = new ComplexField(father,"nome_porta_delegante_azione",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  70.         this.CANALE = new ComplexField(father,"canale",java.lang.String.class,"porta-delegata",PortaDelegata.class);
  71.         this.PORTA_DELEGATA_SERVIZIO_APPLICATIVO = new org.openspcoop2.core.commons.search.model.PortaDelegataServizioApplicativoModel(new ComplexField(father,"porta-delegata-servizio-applicativo",org.openspcoop2.core.commons.search.PortaDelegataServizioApplicativo.class,"porta-delegata",PortaDelegata.class));
  72.         this.PORTA_DELEGATA_AZIONE = new org.openspcoop2.core.commons.search.model.PortaDelegataAzioneModel(new ComplexField(father,"porta-delegata-azione",org.openspcoop2.core.commons.search.PortaDelegataAzione.class,"porta-delegata",PortaDelegata.class));
  73.    
  74.     }
  75.    
  76.    

  77.     public IField NOME = null;
  78.      
  79.     public IField STATO = null;
  80.      
  81.     public org.openspcoop2.core.commons.search.model.IdSoggettoModel ID_SOGGETTO = null;
  82.      
  83.     public IField TIPO_SOGGETTO_EROGATORE = null;
  84.      
  85.     public IField NOME_SOGGETTO_EROGATORE = null;
  86.      
  87.     public IField TIPO_SERVIZIO = null;
  88.      
  89.     public IField NOME_SERVIZIO = null;
  90.      
  91.     public IField VERSIONE_SERVIZIO = null;
  92.      
  93.     public IField MODE_AZIONE = null;
  94.      
  95.     public IField NOME_AZIONE = null;
  96.      
  97.     public IField NOME_PORTA_DELEGANTE_AZIONE = null;
  98.      
  99.     public IField CANALE = null;
  100.      
  101.     public org.openspcoop2.core.commons.search.model.PortaDelegataServizioApplicativoModel PORTA_DELEGATA_SERVIZIO_APPLICATIVO = null;
  102.      
  103.     public org.openspcoop2.core.commons.search.model.PortaDelegataAzioneModel PORTA_DELEGATA_AZIONE = null;
  104.      

  105.     @Override
  106.     public Class<PortaDelegata> getModeledClass(){
  107.         return PortaDelegata.class;
  108.     }
  109.    
  110.     @Override
  111.     public String toString(){
  112.         if(this.getModeledClass()!=null){
  113.             return this.getModeledClass().getName();
  114.         }else{
  115.             return "N.D.";
  116.         }
  117.     }

  118. }