DatiTrasportoTypeModel.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.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model;

  21. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.DatiTrasportoType;

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

  34.     public DatiTrasportoTypeModel(){
  35.    
  36.         super();
  37.    
  38.         this.DATI_ANAGRAFICI_VETTORE = new it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model.DatiAnagraficiVettoreTypeModel(new Field("DatiAnagraficiVettore",it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.DatiAnagraficiVettoreType.class,"DatiTrasportoType",DatiTrasportoType.class));
  39.         this.MEZZO_TRASPORTO = new Field("MezzoTrasporto",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  40.         this.CAUSALE_TRASPORTO = new Field("CausaleTrasporto",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  41.         this.NUMERO_COLLI = new Field("NumeroColli",java.math.BigInteger.class,"DatiTrasportoType",DatiTrasportoType.class);
  42.         this.DESCRIZIONE = new Field("Descrizione",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  43.         this.UNITA_MISURA_PESO = new Field("UnitaMisuraPeso",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  44.         this.PESO_LORDO = new Field("PesoLordo",java.math.BigDecimal.class,"DatiTrasportoType",DatiTrasportoType.class);
  45.         this.PESO_NETTO = new Field("PesoNetto",java.math.BigDecimal.class,"DatiTrasportoType",DatiTrasportoType.class);
  46.         this.DATA_ORA_RITIRO = new Field("DataOraRitiro",java.util.Date.class,"DatiTrasportoType",DatiTrasportoType.class);
  47.         this.DATA_INIZIO_TRASPORTO = new Field("DataInizioTrasporto",java.util.Date.class,"DatiTrasportoType",DatiTrasportoType.class);
  48.         this.TIPO_RESA = new Field("TipoResa",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  49.         this.INDIRIZZO_RESA = new it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model.IndirizzoTypeModel(new Field("IndirizzoResa",it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.IndirizzoType.class,"DatiTrasportoType",DatiTrasportoType.class));
  50.         this.DATA_ORA_CONSEGNA = new Field("DataOraConsegna",java.util.Date.class,"DatiTrasportoType",DatiTrasportoType.class);
  51.    
  52.     }
  53.    
  54.     public DatiTrasportoTypeModel(IField father){
  55.    
  56.         super(father);
  57.    
  58.         this.DATI_ANAGRAFICI_VETTORE = new it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model.DatiAnagraficiVettoreTypeModel(new ComplexField(father,"DatiAnagraficiVettore",it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.DatiAnagraficiVettoreType.class,"DatiTrasportoType",DatiTrasportoType.class));
  59.         this.MEZZO_TRASPORTO = new ComplexField(father,"MezzoTrasporto",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  60.         this.CAUSALE_TRASPORTO = new ComplexField(father,"CausaleTrasporto",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  61.         this.NUMERO_COLLI = new ComplexField(father,"NumeroColli",java.math.BigInteger.class,"DatiTrasportoType",DatiTrasportoType.class);
  62.         this.DESCRIZIONE = new ComplexField(father,"Descrizione",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  63.         this.UNITA_MISURA_PESO = new ComplexField(father,"UnitaMisuraPeso",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  64.         this.PESO_LORDO = new ComplexField(father,"PesoLordo",java.math.BigDecimal.class,"DatiTrasportoType",DatiTrasportoType.class);
  65.         this.PESO_NETTO = new ComplexField(father,"PesoNetto",java.math.BigDecimal.class,"DatiTrasportoType",DatiTrasportoType.class);
  66.         this.DATA_ORA_RITIRO = new ComplexField(father,"DataOraRitiro",java.util.Date.class,"DatiTrasportoType",DatiTrasportoType.class);
  67.         this.DATA_INIZIO_TRASPORTO = new ComplexField(father,"DataInizioTrasporto",java.util.Date.class,"DatiTrasportoType",DatiTrasportoType.class);
  68.         this.TIPO_RESA = new ComplexField(father,"TipoResa",java.lang.String.class,"DatiTrasportoType",DatiTrasportoType.class);
  69.         this.INDIRIZZO_RESA = new it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model.IndirizzoTypeModel(new ComplexField(father,"IndirizzoResa",it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.IndirizzoType.class,"DatiTrasportoType",DatiTrasportoType.class));
  70.         this.DATA_ORA_CONSEGNA = new ComplexField(father,"DataOraConsegna",java.util.Date.class,"DatiTrasportoType",DatiTrasportoType.class);
  71.    
  72.     }
  73.    
  74.    

  75.     public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model.DatiAnagraficiVettoreTypeModel DATI_ANAGRAFICI_VETTORE = null;
  76.      
  77.     public IField MEZZO_TRASPORTO = null;
  78.      
  79.     public IField CAUSALE_TRASPORTO = null;
  80.      
  81.     public IField NUMERO_COLLI = null;
  82.      
  83.     public IField DESCRIZIONE = null;
  84.      
  85.     public IField UNITA_MISURA_PESO = null;
  86.      
  87.     public IField PESO_LORDO = null;
  88.      
  89.     public IField PESO_NETTO = null;
  90.      
  91.     public IField DATA_ORA_RITIRO = null;
  92.      
  93.     public IField DATA_INIZIO_TRASPORTO = null;
  94.      
  95.     public IField TIPO_RESA = null;
  96.      
  97.     public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.model.IndirizzoTypeModel INDIRIZZO_RESA = null;
  98.      
  99.     public IField DATA_ORA_CONSEGNA = null;
  100.      

  101.     @Override
  102.     public Class<DatiTrasportoType> getModeledClass(){
  103.         return DatiTrasportoType.class;
  104.     }
  105.    
  106.     @Override
  107.     public String toString(){
  108.         if(this.getModeledClass()!=null){
  109.             return this.getModeledClass().getName();
  110.         }else{
  111.             return "N.D.";
  112.         }
  113.     }

  114. }