RispostaRiceviFattureType.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.ws.ricezione.v1_0.types;

  21. import it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.constants.EsitoRicezioneType;
  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 rispostaRiceviFatture_Type complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="rispostaRiceviFatture_Type"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="Esito" type="{http://www.fatturapa.gov.it/sdi/ws/ricezione/v1.0/types}esitoRicezione_Type" minOccurs="1" maxOccurs="1"/&gt;
  36.  *      &lt;/sequence&gt;
  37.  * &lt;/complexType&gt;
  38.  * </pre>
  39.  *
  40.  * @version $Rev$, $Date$
  41.  *
  42.  * @author Poli Andrea (poli@link.it)
  43.  * @author $Author$
  44.  * */

  45. @XmlAccessorType(XmlAccessType.FIELD)
  46. @XmlType(name = "rispostaRiceviFatture_Type",
  47.   propOrder = {
  48.     "esito"
  49.   }
  50. )

  51. @XmlRootElement(name = "rispostaRiceviFatture_Type")

  52. public class RispostaRiceviFattureType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  53.   public RispostaRiceviFattureType() {
  54.     super();
  55.   }

  56.   public void setEsitoRawEnumValue(String value) {
  57.     this.esito = (EsitoRicezioneType) EsitoRicezioneType.toEnumConstantFromString(value);
  58.   }

  59.   public String getEsitoRawEnumValue() {
  60.     if(this.esito == null){
  61.         return null;
  62.     }else{
  63.         return this.esito.toString();
  64.     }
  65.   }

  66.   public it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.constants.EsitoRicezioneType getEsito() {
  67.     return this.esito;
  68.   }

  69.   public void setEsito(it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.constants.EsitoRicezioneType esito) {
  70.     this.esito = esito;
  71.   }

  72.   private static final long serialVersionUID = 1L;

  73.   private static it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.model.RispostaRiceviFattureTypeModel modelStaticInstance = null;
  74.   private static synchronized void initModelStaticInstance(){
  75.       if(it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.RispostaRiceviFattureType.modelStaticInstance==null){
  76.             it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.RispostaRiceviFattureType.modelStaticInstance = new it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.model.RispostaRiceviFattureTypeModel();
  77.       }
  78.   }
  79.   public static it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.model.RispostaRiceviFattureTypeModel model(){
  80.       if(it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.RispostaRiceviFattureType.modelStaticInstance==null){
  81.             initModelStaticInstance();
  82.       }
  83.       return it.gov.fatturapa.sdi.ws.ricezione.v1_0.types.RispostaRiceviFattureType.modelStaticInstance;
  84.   }


  85.   @javax.xml.bind.annotation.XmlTransient
  86.   protected java.lang.String esitoRawEnumValue;

  87.   @XmlElement(name="Esito",required=true,nillable=false)
  88.   protected EsitoRicezioneType esito;

  89. }