FruitoreModel.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.registry.model;

  21. import org.openspcoop2.core.registry.Fruitore;

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

  34.     public FruitoreModel(){
  35.    
  36.         super();
  37.    
  38.         this.SERVIZIO_APPLICATIVO = new Field("servizio-applicativo",java.lang.String.class,"fruitore",Fruitore.class);
  39.         this.CONNETTORE = new org.openspcoop2.core.registry.model.ConnettoreModel(new Field("connettore",org.openspcoop2.core.registry.Connettore.class,"fruitore",Fruitore.class));
  40.         this.CONFIGURAZIONE_AZIONE = new org.openspcoop2.core.registry.model.ConfigurazioneServizioAzioneModel(new Field("configurazione-azione",org.openspcoop2.core.registry.ConfigurazioneServizioAzione.class,"fruitore",Fruitore.class));
  41.         this.PROTOCOL_PROPERTY = new org.openspcoop2.core.registry.model.ProtocolPropertyModel(new Field("protocol-property",org.openspcoop2.core.registry.ProtocolProperty.class,"fruitore",Fruitore.class));
  42.         this.PROPRIETA_OGGETTO = new org.openspcoop2.core.registry.model.ProprietaOggettoModel(new Field("proprieta-oggetto",org.openspcoop2.core.registry.ProprietaOggetto.class,"fruitore",Fruitore.class));
  43.         this.STATO_PACKAGE = new Field("stato-package",java.lang.String.class,"fruitore",Fruitore.class);
  44.         this.BYTE_WSDL_IMPLEMENTATIVO_EROGATORE = new Field("byte-wsdl-implementativo-erogatore",byte[].class,"fruitore",Fruitore.class);
  45.         this.BYTE_WSDL_IMPLEMENTATIVO_FRUITORE = new Field("byte-wsdl-implementativo-fruitore",byte[].class,"fruitore",Fruitore.class);
  46.         this.ID_SOGGETTO = new Field("id-soggetto",java.lang.Long.class,"fruitore",Fruitore.class);
  47.         this.ID_SERVIZIO = new Field("id-servizio",java.lang.Long.class,"fruitore",Fruitore.class);
  48.         this.TIPO = new Field("tipo",java.lang.String.class,"fruitore",Fruitore.class);
  49.         this.NOME = new Field("nome",java.lang.String.class,"fruitore",Fruitore.class);
  50.         this.WSDL_IMPLEMENTATIVO_EROGATORE = new Field("wsdl-implementativo-erogatore",java.lang.String.class,"fruitore",Fruitore.class);
  51.         this.WSDL_IMPLEMENTATIVO_FRUITORE = new Field("wsdl-implementativo-fruitore",java.lang.String.class,"fruitore",Fruitore.class);
  52.         this.ORA_REGISTRAZIONE = new Field("ora-registrazione",java.util.Date.class,"fruitore",Fruitore.class);
  53.         this.DESCRIZIONE = new Field("descrizione",java.lang.String.class,"fruitore",Fruitore.class);
  54.    
  55.     }
  56.    
  57.     public FruitoreModel(IField father){
  58.    
  59.         super(father);
  60.    
  61.         this.SERVIZIO_APPLICATIVO = new ComplexField(father,"servizio-applicativo",java.lang.String.class,"fruitore",Fruitore.class);
  62.         this.CONNETTORE = new org.openspcoop2.core.registry.model.ConnettoreModel(new ComplexField(father,"connettore",org.openspcoop2.core.registry.Connettore.class,"fruitore",Fruitore.class));
  63.         this.CONFIGURAZIONE_AZIONE = new org.openspcoop2.core.registry.model.ConfigurazioneServizioAzioneModel(new ComplexField(father,"configurazione-azione",org.openspcoop2.core.registry.ConfigurazioneServizioAzione.class,"fruitore",Fruitore.class));
  64.         this.PROTOCOL_PROPERTY = new org.openspcoop2.core.registry.model.ProtocolPropertyModel(new ComplexField(father,"protocol-property",org.openspcoop2.core.registry.ProtocolProperty.class,"fruitore",Fruitore.class));
  65.         this.PROPRIETA_OGGETTO = new org.openspcoop2.core.registry.model.ProprietaOggettoModel(new ComplexField(father,"proprieta-oggetto",org.openspcoop2.core.registry.ProprietaOggetto.class,"fruitore",Fruitore.class));
  66.         this.STATO_PACKAGE = new ComplexField(father,"stato-package",java.lang.String.class,"fruitore",Fruitore.class);
  67.         this.BYTE_WSDL_IMPLEMENTATIVO_EROGATORE = new ComplexField(father,"byte-wsdl-implementativo-erogatore",byte[].class,"fruitore",Fruitore.class);
  68.         this.BYTE_WSDL_IMPLEMENTATIVO_FRUITORE = new ComplexField(father,"byte-wsdl-implementativo-fruitore",byte[].class,"fruitore",Fruitore.class);
  69.         this.ID_SOGGETTO = new ComplexField(father,"id-soggetto",java.lang.Long.class,"fruitore",Fruitore.class);
  70.         this.ID_SERVIZIO = new ComplexField(father,"id-servizio",java.lang.Long.class,"fruitore",Fruitore.class);
  71.         this.TIPO = new ComplexField(father,"tipo",java.lang.String.class,"fruitore",Fruitore.class);
  72.         this.NOME = new ComplexField(father,"nome",java.lang.String.class,"fruitore",Fruitore.class);
  73.         this.WSDL_IMPLEMENTATIVO_EROGATORE = new ComplexField(father,"wsdl-implementativo-erogatore",java.lang.String.class,"fruitore",Fruitore.class);
  74.         this.WSDL_IMPLEMENTATIVO_FRUITORE = new ComplexField(father,"wsdl-implementativo-fruitore",java.lang.String.class,"fruitore",Fruitore.class);
  75.         this.ORA_REGISTRAZIONE = new ComplexField(father,"ora-registrazione",java.util.Date.class,"fruitore",Fruitore.class);
  76.         this.DESCRIZIONE = new ComplexField(father,"descrizione",java.lang.String.class,"fruitore",Fruitore.class);
  77.    
  78.     }
  79.    
  80.    

  81.     public IField SERVIZIO_APPLICATIVO = null;
  82.      
  83.     public org.openspcoop2.core.registry.model.ConnettoreModel CONNETTORE = null;
  84.      
  85.     public org.openspcoop2.core.registry.model.ConfigurazioneServizioAzioneModel CONFIGURAZIONE_AZIONE = null;
  86.      
  87.     public org.openspcoop2.core.registry.model.ProtocolPropertyModel PROTOCOL_PROPERTY = null;
  88.      
  89.     public org.openspcoop2.core.registry.model.ProprietaOggettoModel PROPRIETA_OGGETTO = null;
  90.      
  91.     public IField STATO_PACKAGE = null;
  92.      
  93.     public IField BYTE_WSDL_IMPLEMENTATIVO_EROGATORE = null;
  94.      
  95.     public IField BYTE_WSDL_IMPLEMENTATIVO_FRUITORE = null;
  96.      
  97.     public IField ID_SOGGETTO = null;
  98.      
  99.     public IField ID_SERVIZIO = null;
  100.      
  101.     public IField TIPO = null;
  102.      
  103.     public IField NOME = null;
  104.      
  105.     public IField WSDL_IMPLEMENTATIVO_EROGATORE = null;
  106.      
  107.     public IField WSDL_IMPLEMENTATIVO_FRUITORE = null;
  108.      
  109.     public IField ORA_REGISTRAZIONE = null;
  110.      
  111.     public IField DESCRIZIONE = null;
  112.      

  113.     @Override
  114.     public Class<Fruitore> getModeledClass(){
  115.         return Fruitore.class;
  116.     }
  117.    
  118.     @Override
  119.     public String toString(){
  120.         if(this.getModeledClass()!=null){
  121.             return this.getModeledClass().getName();
  122.         }else{
  123.             return "N.D.";
  124.         }
  125.     }

  126. }