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

  21. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.BolloVirtualeType;
  22. import it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.TipoDocumentoType;
  23. import javax.xml.bind.annotation.XmlAccessType;
  24. import javax.xml.bind.annotation.XmlAccessorType;
  25. import javax.xml.bind.annotation.XmlElement;
  26. import javax.xml.bind.annotation.XmlRootElement;
  27. import javax.xml.bind.annotation.XmlType;
  28. import java.io.Serializable;


  29. /** <p>Java class for DatiGeneraliDocumentoType complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="DatiGeneraliDocumentoType"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="TipoDocumento" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}TipoDocumentoType" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="Divisa" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}string" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="Data" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}date" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="Numero" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  40.  *          &lt;element name="BolloVirtuale" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0}BolloVirtualeType" minOccurs="0" maxOccurs="1"/&gt;
  41.  *      &lt;/sequence&gt;
  42.  * &lt;/complexType&gt;
  43.  * </pre>
  44.  *
  45.  * @version $Rev$, $Date$
  46.  *
  47.  * @author Poli Andrea (poli@link.it)
  48.  * @author $Author$
  49.  * */

  50. @XmlAccessorType(XmlAccessType.FIELD)
  51. @XmlType(name = "DatiGeneraliDocumentoType",
  52.   propOrder = {
  53.     "tipoDocumento",
  54.     "divisa",
  55.     "data",
  56.     "numero",
  57.     "bolloVirtuale"
  58.   }
  59. )

  60. @XmlRootElement(name = "DatiGeneraliDocumentoType")

  61. public class DatiGeneraliDocumentoType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  62.   public DatiGeneraliDocumentoType() {
  63.     super();
  64.   }

  65.   public void setTipoDocumentoRawEnumValue(String value) {
  66.     this.tipoDocumento = (TipoDocumentoType) TipoDocumentoType.toEnumConstantFromString(value);
  67.   }

  68.   public String getTipoDocumentoRawEnumValue() {
  69.     if(this.tipoDocumento == null){
  70.         return null;
  71.     }else{
  72.         return this.tipoDocumento.toString();
  73.     }
  74.   }

  75.   public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.TipoDocumentoType getTipoDocumento() {
  76.     return this.tipoDocumento;
  77.   }

  78.   public void setTipoDocumento(it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.TipoDocumentoType tipoDocumento) {
  79.     this.tipoDocumento = tipoDocumento;
  80.   }

  81.   public java.lang.String getDivisa() {
  82.     return this.divisa;
  83.   }

  84.   public void setDivisa(java.lang.String divisa) {
  85.     this.divisa = divisa;
  86.   }

  87.   public java.util.Date getData() {
  88.     return this.data;
  89.   }

  90.   public void setData(java.util.Date data) {
  91.     this.data = data;
  92.   }

  93.   public java.lang.String getNumero() {
  94.     return this.numero;
  95.   }

  96.   public void setNumero(java.lang.String numero) {
  97.     this.numero = numero;
  98.   }

  99.   public void setBolloVirtualeRawEnumValue(String value) {
  100.     this.bolloVirtuale = (BolloVirtualeType) BolloVirtualeType.toEnumConstantFromString(value);
  101.   }

  102.   public String getBolloVirtualeRawEnumValue() {
  103.     if(this.bolloVirtuale == null){
  104.         return null;
  105.     }else{
  106.         return this.bolloVirtuale.toString();
  107.     }
  108.   }

  109.   public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.BolloVirtualeType getBolloVirtuale() {
  110.     return this.bolloVirtuale;
  111.   }

  112.   public void setBolloVirtuale(it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_0.constants.BolloVirtualeType bolloVirtuale) {
  113.     this.bolloVirtuale = bolloVirtuale;
  114.   }

  115.   private static final long serialVersionUID = 1L;



  116.   @javax.xml.bind.annotation.XmlTransient
  117.   protected java.lang.String tipoDocumentoRawEnumValue;

  118.   @XmlElement(name="TipoDocumento",required=true,nillable=false)
  119.   protected TipoDocumentoType tipoDocumento;

  120.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  121.   @XmlElement(name="Divisa",required=true,nillable=false)
  122.   protected java.lang.String divisa;

  123.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Date2String.class)
  124.   @javax.xml.bind.annotation.XmlSchemaType(name="date")
  125.   @XmlElement(name="Data",required=true,nillable=false,type=java.lang.String.class)
  126.   protected java.util.Date data;

  127.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  128.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  129.   @XmlElement(name="Numero",required=true,nillable=false)
  130.   protected java.lang.String numero;

  131.   @javax.xml.bind.annotation.XmlTransient
  132.   protected java.lang.String bolloVirtualeRawEnumValue;

  133.   @XmlElement(name="BolloVirtuale",required=false,nillable=false)
  134.   protected BolloVirtualeType bolloVirtuale;

  135. }