DatiTrasportoType.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;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for DatiTrasportoType complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="DatiTrasportoType"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="DatiAnagraficiVettore" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}DatiAnagraficiVettoreType" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="MezzoTrasporto" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="CausaleTrasporto" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="NumeroColli" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}integer" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="Descrizione" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="UnitaMisuraPeso" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="PesoLordo" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}decimal" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="PesoNetto" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}decimal" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="DataOraRitiro" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0" maxOccurs="1"/&gt;
  43.  *          &lt;element name="DataInizioTrasporto" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0" maxOccurs="1"/&gt;
  44.  *          &lt;element name="TipoResa" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}string" minOccurs="0" maxOccurs="1"/&gt;
  45.  *          &lt;element name="IndirizzoResa" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}IndirizzoType" minOccurs="0" maxOccurs="1"/&gt;
  46.  *          &lt;element name="DataOraConsegna" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0" maxOccurs="1"/&gt;
  47.  *      &lt;/sequence&gt;
  48.  * &lt;/complexType&gt;
  49.  * </pre>
  50.  *
  51.  * @version $Rev$, $Date$
  52.  *
  53.  * @author Poli Andrea (poli@link.it)
  54.  * @author $Author$
  55.  * */

  56. @XmlAccessorType(XmlAccessType.FIELD)
  57. @XmlType(name = "DatiTrasportoType",
  58.   propOrder = {
  59.     "datiAnagraficiVettore",
  60.     "mezzoTrasporto",
  61.     "causaleTrasporto",
  62.     "numeroColli",
  63.     "descrizione",
  64.     "unitaMisuraPeso",
  65.     "_decimalWrapper_pesoLordo",
  66.     "_decimalWrapper_pesoNetto",
  67.     "dataOraRitiro",
  68.     "dataInizioTrasporto",
  69.     "tipoResa",
  70.     "indirizzoResa",
  71.     "dataOraConsegna"
  72.   }
  73. )

  74. @XmlRootElement(name = "DatiTrasportoType")

  75. public class DatiTrasportoType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  76.   public DatiTrasportoType() {
  77.     super();
  78.   }

  79.   public DatiAnagraficiVettoreType getDatiAnagraficiVettore() {
  80.     return this.datiAnagraficiVettore;
  81.   }

  82.   public void setDatiAnagraficiVettore(DatiAnagraficiVettoreType datiAnagraficiVettore) {
  83.     this.datiAnagraficiVettore = datiAnagraficiVettore;
  84.   }

  85.   public java.lang.String getMezzoTrasporto() {
  86.     return this.mezzoTrasporto;
  87.   }

  88.   public void setMezzoTrasporto(java.lang.String mezzoTrasporto) {
  89.     this.mezzoTrasporto = mezzoTrasporto;
  90.   }

  91.   public java.lang.String getCausaleTrasporto() {
  92.     return this.causaleTrasporto;
  93.   }

  94.   public void setCausaleTrasporto(java.lang.String causaleTrasporto) {
  95.     this.causaleTrasporto = causaleTrasporto;
  96.   }

  97.   public java.math.BigInteger getNumeroColli() {
  98.     return this.numeroColli;
  99.   }

  100.   public void setNumeroColli(java.math.BigInteger numeroColli) {
  101.     this.numeroColli = numeroColli;
  102.   }

  103.   public java.lang.String getDescrizione() {
  104.     return this.descrizione;
  105.   }

  106.   public void setDescrizione(java.lang.String descrizione) {
  107.     this.descrizione = descrizione;
  108.   }

  109.   public java.lang.String getUnitaMisuraPeso() {
  110.     return this.unitaMisuraPeso;
  111.   }

  112.   public void setUnitaMisuraPeso(java.lang.String unitaMisuraPeso) {
  113.     this.unitaMisuraPeso = unitaMisuraPeso;
  114.   }

  115.   public java.math.BigDecimal getPesoLordo() {
  116.     if(this._decimalWrapper_pesoLordo!=null){
  117.         return (java.math.BigDecimal) this._decimalWrapper_pesoLordo.getObject(java.math.BigDecimal.class);
  118.     }else{
  119.         return this.pesoLordo;
  120.     }
  121.   }

  122.   public void setPesoLordo(java.math.BigDecimal pesoLordo) {
  123.     if(pesoLordo!=null){
  124.         this._decimalWrapper_pesoLordo = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,4,1,2,pesoLordo);
  125.     }
  126.   }

  127.   public java.math.BigDecimal getPesoNetto() {
  128.     if(this._decimalWrapper_pesoNetto!=null){
  129.         return (java.math.BigDecimal) this._decimalWrapper_pesoNetto.getObject(java.math.BigDecimal.class);
  130.     }else{
  131.         return this.pesoNetto;
  132.     }
  133.   }

  134.   public void setPesoNetto(java.math.BigDecimal pesoNetto) {
  135.     if(pesoNetto!=null){
  136.         this._decimalWrapper_pesoNetto = new org.openspcoop2.utils.jaxb.DecimalWrapper(1,4,1,2,pesoNetto);
  137.     }
  138.   }

  139.   public java.util.Date getDataOraRitiro() {
  140.     return this.dataOraRitiro;
  141.   }

  142.   public void setDataOraRitiro(java.util.Date dataOraRitiro) {
  143.     this.dataOraRitiro = dataOraRitiro;
  144.   }

  145.   public java.util.Date getDataInizioTrasporto() {
  146.     return this.dataInizioTrasporto;
  147.   }

  148.   public void setDataInizioTrasporto(java.util.Date dataInizioTrasporto) {
  149.     this.dataInizioTrasporto = dataInizioTrasporto;
  150.   }

  151.   public java.lang.String getTipoResa() {
  152.     return this.tipoResa;
  153.   }

  154.   public void setTipoResa(java.lang.String tipoResa) {
  155.     this.tipoResa = tipoResa;
  156.   }

  157.   public IndirizzoType getIndirizzoResa() {
  158.     return this.indirizzoResa;
  159.   }

  160.   public void setIndirizzoResa(IndirizzoType indirizzoResa) {
  161.     this.indirizzoResa = indirizzoResa;
  162.   }

  163.   public java.util.Date getDataOraConsegna() {
  164.     return this.dataOraConsegna;
  165.   }

  166.   public void setDataOraConsegna(java.util.Date dataOraConsegna) {
  167.     this.dataOraConsegna = dataOraConsegna;
  168.   }

  169.   private static final long serialVersionUID = 1L;



  170.   @XmlElement(name="DatiAnagraficiVettore",required=false,nillable=false)
  171.   protected DatiAnagraficiVettoreType datiAnagraficiVettore;

  172.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  173.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  174.   @XmlElement(name="MezzoTrasporto",required=false,nillable=false)
  175.   protected java.lang.String mezzoTrasporto;

  176.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  177.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  178.   @XmlElement(name="CausaleTrasporto",required=false,nillable=false)
  179.   protected java.lang.String causaleTrasporto;

  180.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  181.   @XmlElement(name="NumeroColli",required=false,nillable=false)
  182.   protected java.math.BigInteger numeroColli;

  183.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  184.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  185.   @XmlElement(name="Descrizione",required=false,nillable=false)
  186.   protected java.lang.String descrizione;

  187.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  188.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  189.   @XmlElement(name="UnitaMisuraPeso",required=false,nillable=false)
  190.   protected java.lang.String unitaMisuraPeso;

  191.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  192.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  193.   @XmlElement(name="PesoLordo",required=false,nillable=false)
  194.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_pesoLordo = null;

  195.   @javax.xml.bind.annotation.XmlTransient
  196.   protected java.math.BigDecimal pesoLordo;

  197.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Decimal2String.class)
  198.   @javax.xml.bind.annotation.XmlSchemaType(name="decimal")
  199.   @XmlElement(name="PesoNetto",required=false,nillable=false)
  200.   org.openspcoop2.utils.jaxb.DecimalWrapper _decimalWrapper_pesoNetto = null;

  201.   @javax.xml.bind.annotation.XmlTransient
  202.   protected java.math.BigDecimal pesoNetto;

  203.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  204.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  205.   @XmlElement(name="DataOraRitiro",required=false,nillable=false,type=java.lang.String.class)
  206.   protected java.util.Date dataOraRitiro;

  207.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Date2String.class)
  208.   @javax.xml.bind.annotation.XmlSchemaType(name="date")
  209.   @XmlElement(name="DataInizioTrasporto",required=false,nillable=false,type=java.lang.String.class)
  210.   protected java.util.Date dataInizioTrasporto;

  211.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  212.   @XmlElement(name="TipoResa",required=false,nillable=false)
  213.   protected java.lang.String tipoResa;

  214.   @XmlElement(name="IndirizzoResa",required=false,nillable=false)
  215.   protected IndirizzoType indirizzoResa;

  216.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  217.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  218.   @XmlElement(name="DataOraConsegna",required=false,nillable=false,type=java.lang.String.class)
  219.   protected java.util.Date dataOraConsegna;

  220. }