ScartoEsitoCommittenteType.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.messaggi.v1_0;

  21. import it.gov.fatturapa.sdi.messaggi.v1_0.constants.ScartoType;
  22. import javax.xml.bind.annotation.XmlAccessType;
  23. import javax.xml.bind.annotation.XmlAccessorType;
  24. import javax.xml.bind.annotation.XmlAttribute;
  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 ScartoEsitoCommittente_Type complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="ScartoEsitoCommittente_Type"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="IdentificativoSdI" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="RiferimentoFattura" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}RiferimentoFattura_Type" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="Scarto" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}Scarto_Type" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="MessageId" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" minOccurs="1" maxOccurs="1"/&gt;
  40.  *          &lt;element name="MessageIdCommittente" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="PecMessageId" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="Note" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  43.  *      &lt;/sequence&gt;
  44.  *      &lt;attribute name="versione" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" use="required"/&gt;
  45.  * &lt;/complexType&gt;
  46.  * </pre>
  47.  *
  48.  * @version $Rev$, $Date$
  49.  *
  50.  * @author Poli Andrea (poli@link.it)
  51.  * @author $Author$
  52.  * */

  53. @XmlAccessorType(XmlAccessType.FIELD)
  54. @XmlType(name = "ScartoEsitoCommittente_Type",
  55.   propOrder = {
  56.     "identificativoSdI",
  57.     "riferimentoFattura",
  58.     "scarto",
  59.     "messageId",
  60.     "messageIdCommittente",
  61.     "pecMessageId",
  62.     "note"
  63.   }
  64. )

  65. @XmlRootElement(name = "ScartoEsitoCommittente_Type")

  66. public class ScartoEsitoCommittenteType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  67.   public ScartoEsitoCommittenteType() {
  68.     super();
  69.   }

  70.   public java.lang.String getIdentificativoSdI() {
  71.     return this.identificativoSdI;
  72.   }

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

  76.   public RiferimentoFatturaType getRiferimentoFattura() {
  77.     return this.riferimentoFattura;
  78.   }

  79.   public void setRiferimentoFattura(RiferimentoFatturaType riferimentoFattura) {
  80.     this.riferimentoFattura = riferimentoFattura;
  81.   }

  82.   public void setScartoRawEnumValue(String value) {
  83.     this.scarto = (ScartoType) ScartoType.toEnumConstantFromString(value);
  84.   }

  85.   public String getScartoRawEnumValue() {
  86.     if(this.scarto == null){
  87.         return null;
  88.     }else{
  89.         return this.scarto.toString();
  90.     }
  91.   }

  92.   public it.gov.fatturapa.sdi.messaggi.v1_0.constants.ScartoType getScarto() {
  93.     return this.scarto;
  94.   }

  95.   public void setScarto(it.gov.fatturapa.sdi.messaggi.v1_0.constants.ScartoType scarto) {
  96.     this.scarto = scarto;
  97.   }

  98.   public java.lang.String getMessageId() {
  99.     return this.messageId;
  100.   }

  101.   public void setMessageId(java.lang.String messageId) {
  102.     this.messageId = messageId;
  103.   }

  104.   public java.lang.String getMessageIdCommittente() {
  105.     return this.messageIdCommittente;
  106.   }

  107.   public void setMessageIdCommittente(java.lang.String messageIdCommittente) {
  108.     this.messageIdCommittente = messageIdCommittente;
  109.   }

  110.   public java.lang.String getPecMessageId() {
  111.     return this.pecMessageId;
  112.   }

  113.   public void setPecMessageId(java.lang.String pecMessageId) {
  114.     this.pecMessageId = pecMessageId;
  115.   }

  116.   public java.lang.String getNote() {
  117.     return this.note;
  118.   }

  119.   public void setNote(java.lang.String note) {
  120.     this.note = note;
  121.   }

  122.   public java.lang.String getVersione() {
  123.     return this.versione;
  124.   }

  125.   public void setVersione(java.lang.String versione) {
  126.     this.versione = versione;
  127.   }

  128.   private static final long serialVersionUID = 1L;

  129.   private static it.gov.fatturapa.sdi.messaggi.v1_0.model.ScartoEsitoCommittenteTypeModel modelStaticInstance = null;
  130.   private static synchronized void initModelStaticInstance(){
  131.       if(it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType.modelStaticInstance==null){
  132.             it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType.modelStaticInstance = new it.gov.fatturapa.sdi.messaggi.v1_0.model.ScartoEsitoCommittenteTypeModel();
  133.       }
  134.   }
  135.   public static it.gov.fatturapa.sdi.messaggi.v1_0.model.ScartoEsitoCommittenteTypeModel model(){
  136.       if(it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType.modelStaticInstance==null){
  137.             initModelStaticInstance();
  138.       }
  139.       return it.gov.fatturapa.sdi.messaggi.v1_0.ScartoEsitoCommittenteType.modelStaticInstance;
  140.   }


  141.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  142.   @XmlElement(name="IdentificativoSdI",required=true,nillable=false)
  143.   protected java.lang.String identificativoSdI;

  144.   @XmlElement(name="RiferimentoFattura",required=false,nillable=false)
  145.   protected RiferimentoFatturaType riferimentoFattura;

  146.   @javax.xml.bind.annotation.XmlTransient
  147.   protected java.lang.String scartoRawEnumValue;

  148.   @XmlElement(name="Scarto",required=true,nillable=false)
  149.   protected ScartoType scarto;

  150.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  151.   @XmlElement(name="MessageId",required=true,nillable=false)
  152.   protected java.lang.String messageId;

  153.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  154.   @XmlElement(name="MessageIdCommittente",required=false,nillable=false)
  155.   protected java.lang.String messageIdCommittente;

  156.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  157.   @XmlElement(name="PecMessageId",required=false,nillable=false)
  158.   protected java.lang.String pecMessageId;

  159.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  160.   @XmlElement(name="Note",required=false,nillable=false)
  161.   protected java.lang.String note;

  162.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  163.   @XmlAttribute(name="versione",required=true)
  164.   protected java.lang.String versione;

  165. }