NotificaEsitoCommittenteType.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.EsitoCommittenteType;
  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 NotificaEsitoCommittente_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="NotificaEsitoCommittente_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="Esito" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}EsitoCommittente_Type" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="Descrizione" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" minOccurs="0" 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;/sequence&gt;
  42.  *      &lt;attribute name="versione" type="{http://www.fatturapa.gov.it/sdi/messaggi/v1.0}string" use="required"/&gt;
  43.  * &lt;/complexType&gt;
  44.  * </pre>
  45.  *
  46.  * @version $Rev$, $Date$
  47.  *
  48.  * @author Poli Andrea (poli@link.it)
  49.  * @author $Author$
  50.  * */

  51. @XmlAccessorType(XmlAccessType.FIELD)
  52. @XmlType(name = "NotificaEsitoCommittente_Type",
  53.   propOrder = {
  54.     "identificativoSdI",
  55.     "riferimentoFattura",
  56.     "esito",
  57.     "descrizione",
  58.     "messageIdCommittente"
  59.   }
  60. )

  61. @XmlRootElement(name = "NotificaEsitoCommittente_Type")

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

  66.   public java.lang.String getIdentificativoSdI() {
  67.     return this.identificativoSdI;
  68.   }

  69.   public void setIdentificativoSdI(java.lang.String identificativoSdI) {
  70.     this.identificativoSdI = identificativoSdI;
  71.   }

  72.   public RiferimentoFatturaType getRiferimentoFattura() {
  73.     return this.riferimentoFattura;
  74.   }

  75.   public void setRiferimentoFattura(RiferimentoFatturaType riferimentoFattura) {
  76.     this.riferimentoFattura = riferimentoFattura;
  77.   }

  78.   public void setEsitoRawEnumValue(String value) {
  79.     this.esito = (EsitoCommittenteType) EsitoCommittenteType.toEnumConstantFromString(value);
  80.   }

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

  88.   public it.gov.fatturapa.sdi.messaggi.v1_0.constants.EsitoCommittenteType getEsito() {
  89.     return this.esito;
  90.   }

  91.   public void setEsito(it.gov.fatturapa.sdi.messaggi.v1_0.constants.EsitoCommittenteType esito) {
  92.     this.esito = esito;
  93.   }

  94.   public java.lang.String getDescrizione() {
  95.     return this.descrizione;
  96.   }

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

  100.   public java.lang.String getMessageIdCommittente() {
  101.     return this.messageIdCommittente;
  102.   }

  103.   public void setMessageIdCommittente(java.lang.String messageIdCommittente) {
  104.     this.messageIdCommittente = messageIdCommittente;
  105.   }

  106.   public java.lang.String getVersione() {
  107.     return this.versione;
  108.   }

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

  112.   private static final long serialVersionUID = 1L;

  113.   private static it.gov.fatturapa.sdi.messaggi.v1_0.model.NotificaEsitoCommittenteTypeModel modelStaticInstance = null;
  114.   private static synchronized void initModelStaticInstance(){
  115.       if(it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType.modelStaticInstance==null){
  116.             it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType.modelStaticInstance = new it.gov.fatturapa.sdi.messaggi.v1_0.model.NotificaEsitoCommittenteTypeModel();
  117.       }
  118.   }
  119.   public static it.gov.fatturapa.sdi.messaggi.v1_0.model.NotificaEsitoCommittenteTypeModel model(){
  120.       if(it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType.modelStaticInstance==null){
  121.             initModelStaticInstance();
  122.       }
  123.       return it.gov.fatturapa.sdi.messaggi.v1_0.NotificaEsitoCommittenteType.modelStaticInstance;
  124.   }


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

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

  130.   @javax.xml.bind.annotation.XmlTransient
  131.   protected java.lang.String esitoRawEnumValue;

  132.   @XmlElement(name="Esito",required=true,nillable=false)
  133.   protected EsitoCommittenteType esito;

  134.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  135.   @XmlElement(name="Descrizione",required=false,nillable=false)
  136.   protected java.lang.String descrizione;

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

  140.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  141.   @XmlAttribute(name="versione",required=true)
  142.   protected java.lang.String versione;

  143. }