DettaglioLineeTypeModel.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_1.model;

  21. import it.gov.fatturapa.sdi.fatturapa.v1_1.DettaglioLineeType;

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

  34.     public DettaglioLineeTypeModel(){
  35.    
  36.         super();
  37.    
  38.         this.NUMERO_LINEA = new Field("NumeroLinea",java.math.BigInteger.class,"DettaglioLineeType",DettaglioLineeType.class);
  39.         this.TIPO_CESSIONE_PRESTAZIONE = new Field("TipoCessionePrestazione",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  40.         this.CODICE_ARTICOLO = new it.gov.fatturapa.sdi.fatturapa.v1_1.model.CodiceArticoloTypeModel(new Field("CodiceArticolo",it.gov.fatturapa.sdi.fatturapa.v1_1.CodiceArticoloType.class,"DettaglioLineeType",DettaglioLineeType.class));
  41.         this.DESCRIZIONE = new Field("Descrizione",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  42.         this.QUANTITA = new Field("Quantita",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  43.         this.UNITA_MISURA = new Field("UnitaMisura",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  44.         this.DATA_INIZIO_PERIODO = new Field("DataInizioPeriodo",java.util.Date.class,"DettaglioLineeType",DettaglioLineeType.class);
  45.         this.DATA_FINE_PERIODO = new Field("DataFinePeriodo",java.util.Date.class,"DettaglioLineeType",DettaglioLineeType.class);
  46.         this.PREZZO_UNITARIO = new Field("PrezzoUnitario",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  47.         this.SCONTO_MAGGIORAZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_1.model.ScontoMaggiorazioneTypeModel(new Field("ScontoMaggiorazione",it.gov.fatturapa.sdi.fatturapa.v1_1.ScontoMaggiorazioneType.class,"DettaglioLineeType",DettaglioLineeType.class));
  48.         this.PREZZO_TOTALE = new Field("PrezzoTotale",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  49.         this.ALIQUOTA_IVA = new Field("AliquotaIVA",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  50.         this.RITENUTA = new Field("Ritenuta",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  51.         this.NATURA = new Field("Natura",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  52.         this.RIFERIMENTO_AMMINISTRAZIONE = new Field("RiferimentoAmministrazione",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  53.         this.ALTRI_DATI_GESTIONALI = new it.gov.fatturapa.sdi.fatturapa.v1_1.model.AltriDatiGestionaliTypeModel(new Field("AltriDatiGestionali",it.gov.fatturapa.sdi.fatturapa.v1_1.AltriDatiGestionaliType.class,"DettaglioLineeType",DettaglioLineeType.class));
  54.    
  55.     }
  56.    
  57.     public DettaglioLineeTypeModel(IField father){
  58.    
  59.         super(father);
  60.    
  61.         this.NUMERO_LINEA = new ComplexField(father,"NumeroLinea",java.math.BigInteger.class,"DettaglioLineeType",DettaglioLineeType.class);
  62.         this.TIPO_CESSIONE_PRESTAZIONE = new ComplexField(father,"TipoCessionePrestazione",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  63.         this.CODICE_ARTICOLO = new it.gov.fatturapa.sdi.fatturapa.v1_1.model.CodiceArticoloTypeModel(new ComplexField(father,"CodiceArticolo",it.gov.fatturapa.sdi.fatturapa.v1_1.CodiceArticoloType.class,"DettaglioLineeType",DettaglioLineeType.class));
  64.         this.DESCRIZIONE = new ComplexField(father,"Descrizione",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  65.         this.QUANTITA = new ComplexField(father,"Quantita",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  66.         this.UNITA_MISURA = new ComplexField(father,"UnitaMisura",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  67.         this.DATA_INIZIO_PERIODO = new ComplexField(father,"DataInizioPeriodo",java.util.Date.class,"DettaglioLineeType",DettaglioLineeType.class);
  68.         this.DATA_FINE_PERIODO = new ComplexField(father,"DataFinePeriodo",java.util.Date.class,"DettaglioLineeType",DettaglioLineeType.class);
  69.         this.PREZZO_UNITARIO = new ComplexField(father,"PrezzoUnitario",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  70.         this.SCONTO_MAGGIORAZIONE = new it.gov.fatturapa.sdi.fatturapa.v1_1.model.ScontoMaggiorazioneTypeModel(new ComplexField(father,"ScontoMaggiorazione",it.gov.fatturapa.sdi.fatturapa.v1_1.ScontoMaggiorazioneType.class,"DettaglioLineeType",DettaglioLineeType.class));
  71.         this.PREZZO_TOTALE = new ComplexField(father,"PrezzoTotale",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  72.         this.ALIQUOTA_IVA = new ComplexField(father,"AliquotaIVA",java.math.BigDecimal.class,"DettaglioLineeType",DettaglioLineeType.class);
  73.         this.RITENUTA = new ComplexField(father,"Ritenuta",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  74.         this.NATURA = new ComplexField(father,"Natura",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  75.         this.RIFERIMENTO_AMMINISTRAZIONE = new ComplexField(father,"RiferimentoAmministrazione",java.lang.String.class,"DettaglioLineeType",DettaglioLineeType.class);
  76.         this.ALTRI_DATI_GESTIONALI = new it.gov.fatturapa.sdi.fatturapa.v1_1.model.AltriDatiGestionaliTypeModel(new ComplexField(father,"AltriDatiGestionali",it.gov.fatturapa.sdi.fatturapa.v1_1.AltriDatiGestionaliType.class,"DettaglioLineeType",DettaglioLineeType.class));
  77.    
  78.     }
  79.    
  80.    

  81.     public IField NUMERO_LINEA = null;
  82.      
  83.     public IField TIPO_CESSIONE_PRESTAZIONE = null;
  84.      
  85.     public it.gov.fatturapa.sdi.fatturapa.v1_1.model.CodiceArticoloTypeModel CODICE_ARTICOLO = null;
  86.      
  87.     public IField DESCRIZIONE = null;
  88.      
  89.     public IField QUANTITA = null;
  90.      
  91.     public IField UNITA_MISURA = null;
  92.      
  93.     public IField DATA_INIZIO_PERIODO = null;
  94.      
  95.     public IField DATA_FINE_PERIODO = null;
  96.      
  97.     public IField PREZZO_UNITARIO = null;
  98.      
  99.     public it.gov.fatturapa.sdi.fatturapa.v1_1.model.ScontoMaggiorazioneTypeModel SCONTO_MAGGIORAZIONE = null;
  100.      
  101.     public IField PREZZO_TOTALE = null;
  102.      
  103.     public IField ALIQUOTA_IVA = null;
  104.      
  105.     public IField RITENUTA = null;
  106.      
  107.     public IField NATURA = null;
  108.      
  109.     public IField RIFERIMENTO_AMMINISTRAZIONE = null;
  110.      
  111.     public it.gov.fatturapa.sdi.fatturapa.v1_1.model.AltriDatiGestionaliTypeModel ALTRI_DATI_GESTIONALI = null;
  112.      

  113.     @Override
  114.     public Class<DettaglioLineeType> getModeledClass(){
  115.         return DettaglioLineeType.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. }