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.fatturapa.sdi.fatturapa.v1_0;

  21. import it.gov.fatturapa.sdi.fatturapa.v1_0.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://www.fatturapa.gov.it/sdi/fatturapa/v1.0}IdFiscaleType" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="ProgressivoInvio" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="FormatoTrasmissione" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}FormatoTrasmissioneType" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="CodiceDestinatario" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}string" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="ContattiTrasmittente" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}ContattiTrasmittenteType" minOccurs="0" maxOccurs="1"/&gt;
  40.  *      &lt;/sequence&gt;
  41.  * &lt;/complexType&gt;
  42.  * </pre>
  43.  *
  44.  * @version $Rev$, $Date$
  45.  *
  46.  * @author Poli Andrea (poli@link.it)
  47.  * @author $Author$
  48.  * */

  49. @XmlAccessorType(XmlAccessType.FIELD)
  50. @XmlType(name = "DatiTrasmissioneType",
  51.   propOrder = {
  52.     "idTrasmittente",
  53.     "progressivoInvio",
  54.     "formatoTrasmissione",
  55.     "codiceDestinatario",
  56.     "contattiTrasmittente"
  57.   }
  58. )

  59. @XmlRootElement(name = "DatiTrasmissioneType")

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

  64.   public IdFiscaleType getIdTrasmittente() {
  65.     return this.idTrasmittente;
  66.   }

  67.   public void setIdTrasmittente(IdFiscaleType idTrasmittente) {
  68.     this.idTrasmittente = idTrasmittente;
  69.   }

  70.   public java.lang.String getProgressivoInvio() {
  71.     return this.progressivoInvio;
  72.   }

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

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

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

  86.   public it.gov.fatturapa.sdi.fatturapa.v1_0.constants.FormatoTrasmissioneType getFormatoTrasmissione() {
  87.     return this.formatoTrasmissione;
  88.   }

  89.   public void setFormatoTrasmissione(it.gov.fatturapa.sdi.fatturapa.v1_0.constants.FormatoTrasmissioneType formatoTrasmissione) {
  90.     this.formatoTrasmissione = formatoTrasmissione;
  91.   }

  92.   public java.lang.String getCodiceDestinatario() {
  93.     return this.codiceDestinatario;
  94.   }

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

  98.   public ContattiTrasmittenteType getContattiTrasmittente() {
  99.     return this.contattiTrasmittente;
  100.   }

  101.   public void setContattiTrasmittente(ContattiTrasmittenteType contattiTrasmittente) {
  102.     this.contattiTrasmittente = contattiTrasmittente;
  103.   }

  104.   private static final long serialVersionUID = 1L;



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

  107.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  108.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  109.   @XmlElement(name="ProgressivoInvio",required=true,nillable=false)
  110.   protected java.lang.String progressivoInvio;

  111.   @javax.xml.bind.annotation.XmlTransient
  112.   protected java.lang.String formatoTrasmissioneRawEnumValue;

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

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

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

  120. }