DatiGeneraliDocumentoTypeModel.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.DatiGeneraliDocumentoType;

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

  34.     public DatiGeneraliDocumentoTypeModel(){
  35.    
  36.         super();
  37.    
  38.         this.TIPO_DOCUMENTO = new Field("TipoDocumento",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  39.         this.DIVISA = new Field("Divisa",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  40.         this.DATA = new Field("Data",java.util.Date.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  41.         this.NUMERO = new Field("Numero",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  42.         this.DATI_RITENUTA = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiRitenutaTypeModel(new Field("DatiRitenuta",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiRitenutaType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  43.         this.DATI_BOLLO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiBolloTypeModel(new Field("DatiBollo",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiBolloType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  44.         this.DATI_CASSA_PREVIDENZIALE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiCassaPrevidenzialeTypeModel(new Field("DatiCassaPrevidenziale",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiCassaPrevidenzialeType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  45.         this.SCONTO_MAGGIORAZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.ScontoMaggiorazioneTypeModel(new Field("ScontoMaggiorazione",it.gov.fatturapa.sdi.fatturapa.v1_0.ScontoMaggiorazioneType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  46.         this.IMPORTO_TOTALE_DOCUMENTO = new Field("ImportoTotaleDocumento",java.math.BigDecimal.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  47.         this.ARROTONDAMENTO = new Field("Arrotondamento",java.math.BigDecimal.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  48.         this.CAUSALE = new Field("Causale",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  49.         this.ART_73 = new Field("Art73",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  50.    
  51.     }
  52.    
  53.     public DatiGeneraliDocumentoTypeModel(IField father){
  54.    
  55.         super(father);
  56.    
  57.         this.TIPO_DOCUMENTO = new ComplexField(father,"TipoDocumento",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  58.         this.DIVISA = new ComplexField(father,"Divisa",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  59.         this.DATA = new ComplexField(father,"Data",java.util.Date.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  60.         this.NUMERO = new ComplexField(father,"Numero",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  61.         this.DATI_RITENUTA = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiRitenutaTypeModel(new ComplexField(father,"DatiRitenuta",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiRitenutaType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  62.         this.DATI_BOLLO = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiBolloTypeModel(new ComplexField(father,"DatiBollo",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiBolloType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  63.         this.DATI_CASSA_PREVIDENZIALE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiCassaPrevidenzialeTypeModel(new ComplexField(father,"DatiCassaPrevidenziale",it.gov.fatturapa.sdi.fatturapa.v1_0.DatiCassaPrevidenzialeType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  64.         this.SCONTO_MAGGIORAZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_0.model.ScontoMaggiorazioneTypeModel(new ComplexField(father,"ScontoMaggiorazione",it.gov.fatturapa.sdi.fatturapa.v1_0.ScontoMaggiorazioneType.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class));
  65.         this.IMPORTO_TOTALE_DOCUMENTO = new ComplexField(father,"ImportoTotaleDocumento",java.math.BigDecimal.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  66.         this.ARROTONDAMENTO = new ComplexField(father,"Arrotondamento",java.math.BigDecimal.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  67.         this.CAUSALE = new ComplexField(father,"Causale",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  68.         this.ART_73 = new ComplexField(father,"Art73",java.lang.String.class,"DatiGeneraliDocumentoType",DatiGeneraliDocumentoType.class);
  69.    
  70.     }
  71.    
  72.    

  73.     public IField TIPO_DOCUMENTO = null;
  74.      
  75.     public IField DIVISA = null;
  76.      
  77.     public IField DATA = null;
  78.      
  79.     public IField NUMERO = null;
  80.      
  81.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiRitenutaTypeModel DATI_RITENUTA = null;
  82.      
  83.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiBolloTypeModel DATI_BOLLO = null;
  84.      
  85.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.DatiCassaPrevidenzialeTypeModel DATI_CASSA_PREVIDENZIALE = null;
  86.      
  87.     public it.gov.fatturapa.sdi.fatturapa.v1_0.model.ScontoMaggiorazioneTypeModel SCONTO_MAGGIORAZIONE = null;
  88.      
  89.     public IField IMPORTO_TOTALE_DOCUMENTO = null;
  90.      
  91.     public IField ARROTONDAMENTO = null;
  92.      
  93.     public IField CAUSALE = null;
  94.      
  95.     public IField ART_73 = null;
  96.      

  97.     @Override
  98.     public Class<DatiGeneraliDocumentoType> getModeledClass(){
  99.         return DatiGeneraliDocumentoType.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. }