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

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


  28. /** <p>Java class for DatiTrasmissioneType complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="DatiTrasmissioneType"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="IdTrasmittente" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}IdFiscaleType" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="ProgressivoInvio" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="FormatoTrasmissione" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}FormatoTrasmissioneType" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="CodiceDestinatario" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}string" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="ContattiTrasmittente" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}ContattiTrasmittenteType" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="PECDestinatario" type="{http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2}normalizedString" 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 = "DatiTrasmissioneType",
  52.   propOrder = {
  53.     "idTrasmittente",
  54.     "progressivoInvio",
  55.     "formatoTrasmissione",
  56.     "codiceDestinatario",
  57.     "contattiTrasmittente",
  58.     "pecDestinatario"
  59.   }
  60. )

  61. @XmlRootElement(name = "DatiTrasmissioneType")

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

  66.   public IdFiscaleType getIdTrasmittente() {
  67.     return this.idTrasmittente;
  68.   }

  69.   public void setIdTrasmittente(IdFiscaleType idTrasmittente) {
  70.     this.idTrasmittente = idTrasmittente;
  71.   }

  72.   public java.lang.String getProgressivoInvio() {
  73.     return this.progressivoInvio;
  74.   }

  75.   public void setProgressivoInvio(java.lang.String progressivoInvio) {
  76.     this.progressivoInvio = progressivoInvio;
  77.   }

  78.   public void setFormatoTrasmissioneRawEnumValue(String value) {
  79.     this.formatoTrasmissione = (FormatoTrasmissioneType) FormatoTrasmissioneType.toEnumConstantFromString(value);
  80.   }

  81.   public String getFormatoTrasmissioneRawEnumValue() {
  82.     if(this.formatoTrasmissione == null){
  83.         return null;
  84.     }else{
  85.         return this.formatoTrasmissione.toString();
  86.     }
  87.   }

  88.   public it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.FormatoTrasmissioneType getFormatoTrasmissione() {
  89.     return this.formatoTrasmissione;
  90.   }

  91.   public void setFormatoTrasmissione(it.gov.agenziaentrate.ivaservizi.docs.xsd.fatture.v1_2.constants.FormatoTrasmissioneType formatoTrasmissione) {
  92.     this.formatoTrasmissione = formatoTrasmissione;
  93.   }

  94.   public java.lang.String getCodiceDestinatario() {
  95.     return this.codiceDestinatario;
  96.   }

  97.   public void setCodiceDestinatario(java.lang.String codiceDestinatario) {
  98.     this.codiceDestinatario = codiceDestinatario;
  99.   }

  100.   public ContattiTrasmittenteType getContattiTrasmittente() {
  101.     return this.contattiTrasmittente;
  102.   }

  103.   public void setContattiTrasmittente(ContattiTrasmittenteType contattiTrasmittente) {
  104.     this.contattiTrasmittente = contattiTrasmittente;
  105.   }

  106.   public java.lang.String getPecDestinatario() {
  107.     return this.pecDestinatario;
  108.   }

  109.   public void setPecDestinatario(java.lang.String pecDestinatario) {
  110.     this.pecDestinatario = pecDestinatario;
  111.   }

  112.   private static final long serialVersionUID = 1L;



  113.   @XmlElement(name="IdTrasmittente",required=true,nillable=false)
  114.   protected IdFiscaleType idTrasmittente;

  115.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  116.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  117.   @XmlElement(name="ProgressivoInvio",required=true,nillable=false)
  118.   protected java.lang.String progressivoInvio;

  119.   @javax.xml.bind.annotation.XmlTransient
  120.   protected java.lang.String formatoTrasmissioneRawEnumValue;

  121.   @XmlElement(name="FormatoTrasmissione",required=true,nillable=false)
  122.   protected FormatoTrasmissioneType formatoTrasmissione;

  123.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  124.   @XmlElement(name="CodiceDestinatario",required=true,nillable=false)
  125.   protected java.lang.String codiceDestinatario;

  126.   @XmlElement(name="ContattiTrasmittente",required=false,nillable=false)
  127.   protected ContattiTrasmittenteType contattiTrasmittente;

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

  132. }