DatiGeneraliTypeModel.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 it.gov.fatturapa.sdi.fatturapa.v1_0.model;

  21. import it.gov.fatturapa.sdi.fatturapa.v1_0.DatiGeneraliType;

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

  34.     public DatiGeneraliTypeModel(){
  35.    
  36.         super();
  37.    
  38.         this.DATI_GENERALI_DOCUMENTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiGeneraliDocumentoTypeModel(new Field("DatiGeneraliDocumento",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiGeneraliDocumentoType.class,"DatiGeneraliType",DatiGeneraliType.class));
  39.         this.DATI_ORDINE_ACQUISTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new Field("DatiOrdineAcquisto",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  40.         this.DATI_CONTRATTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new Field("DatiContratto",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  41.         this.DATI_CONVENZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new Field("DatiConvenzione",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  42.         this.DATI_RICEZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new Field("DatiRicezione",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  43.         this.DATI_FATTURE_COLLEGATE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new Field("DatiFattureCollegate",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  44.         this.DATI_SAL = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiSALTypeModel(new Field("DatiSAL",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiSALType.class,"DatiGeneraliType",DatiGeneraliType.class));
  45.         this.DATI_DDT = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDDTTypeModel(new Field("DatiDDT",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDDTType.class,"DatiGeneraliType",DatiGeneraliType.class));
  46.         this.DATI_TRASPORTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiTrasportoTypeModel(new Field("DatiTrasporto",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiTrasportoType.class,"DatiGeneraliType",DatiGeneraliType.class));
  47.         this.NORMA_DI_RIFERIMENTO = new Field("NormaDiRiferimento",java.lang.String.class,"DatiGeneraliType",DatiGeneraliType.class);
  48.         this.FATTURA_PRINCIPALE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.FatturaPrincipaleTypeModel(new Field("FatturaPrincipale",it.gov.fatturapa.sdi.fatturapa.v1_0.FatturaPrincipaleType.class,"DatiGeneraliType",DatiGeneraliType.class));
  49.    
  50.     }
  51.    
  52.     public DatiGeneraliTypeModel(IField father){
  53.    
  54.         super(father);
  55.    
  56.         this.DATI_GENERALI_DOCUMENTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiGeneraliDocumentoTypeModel(new ComplexField(father,"DatiGeneraliDocumento",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiGeneraliDocumentoType.class,"DatiGeneraliType",DatiGeneraliType.class));
  57.         this.DATI_ORDINE_ACQUISTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new ComplexField(father,"DatiOrdineAcquisto",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  58.         this.DATI_CONTRATTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new ComplexField(father,"DatiContratto",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  59.         this.DATI_CONVENZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new ComplexField(father,"DatiConvenzione",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  60.         this.DATI_RICEZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new ComplexField(father,"DatiRicezione",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  61.         this.DATI_FATTURE_COLLEGATE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel(new ComplexField(father,"DatiFattureCollegate",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDocumentiCorrelatiType.class,"DatiGeneraliType",DatiGeneraliType.class));
  62.         this.DATI_SAL = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiSALTypeModel(new ComplexField(father,"DatiSAL",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiSALType.class,"DatiGeneraliType",DatiGeneraliType.class));
  63.         this.DATI_DDT = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDDTTypeModel(new ComplexField(father,"DatiDDT",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiDDTType.class,"DatiGeneraliType",DatiGeneraliType.class));
  64.         this.DATI_TRASPORTO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiTrasportoTypeModel(new ComplexField(father,"DatiTrasporto",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiTrasportoType.class,"DatiGeneraliType",DatiGeneraliType.class));
  65.         this.NORMA_DI_RIFERIMENTO = new ComplexField(father,"NormaDiRiferimento",java.lang.String.class,"DatiGeneraliType",DatiGeneraliType.class);
  66.         this.FATTURA_PRINCIPALE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.FatturaPrincipaleTypeModel(new ComplexField(father,"FatturaPrincipale",it.gov.fatturapa.sdi.fatturapa.v1_0.FatturaPrincipaleType.class,"DatiGeneraliType",DatiGeneraliType.class));
  67.    
  68.     }
  69.    
  70.    

  71.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiGeneraliDocumentoTypeModel DATI_GENERALI_DOCUMENTO = null;
  72.      
  73.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel DATI_ORDINE_ACQUISTO = null;
  74.      
  75.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel DATI_CONTRATTO = null;
  76.      
  77.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel DATI_CONVENZIONE = null;
  78.      
  79.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel DATI_RICEZIONE = null;
  80.      
  81.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDocumentiCorrelatiTypeModel DATI_FATTURE_COLLEGATE = null;
  82.      
  83.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiSALTypeModel DATI_SAL = null;
  84.      
  85.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiDDTTypeModel DATI_DDT = null;
  86.      
  87.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiTrasportoTypeModel DATI_TRASPORTO = null;
  88.      
  89.     public IField NORMA_DI_RIFERIMENTO = null;
  90.      
  91.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.FatturaPrincipaleTypeModel FATTURA_PRINCIPALE = null;
  92.      

  93.     @Override
  94.     public Class<DatiGeneraliType> getModeledClass(){
  95.         return DatiGeneraliType.class;
  96.     }
  97.    
  98.     @Override
  99.     public String toString(){
  100.         if(this.getModeledClass()!=null){
  101.             return this.getModeledClass().getName();
  102.         }else{
  103.             return "N.D.";
  104.         }
  105.     }

  106. }