RispostaSdIRiceviFileType.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.trasmissione.v1_0.types;

  21. import it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.constants.ErroreInvioType;
  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 rispostaSdIRiceviFile_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="rispostaSdIRiceviFile_Type"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="IdentificativoSdI" type="{http://www.fatturapa.gov.it/sdi/ws/trasmissione/v1.0/types}string" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="DataOraRicezione" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="Errore" type="{http://www.fatturapa.gov.it/sdi/ws/trasmissione/v1.0/types}erroreInvio_Type" minOccurs="0" maxOccurs="1"/&gt;
  38.  *      &lt;/sequence&gt;
  39.  * &lt;/complexType&gt;
  40.  * </pre>
  41.  *
  42.  * @version $Rev$, $Date$
  43.  *
  44.  * @author Poli Andrea (poli@link.it)
  45.  * @author $Author$
  46.  * */

  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "rispostaSdIRiceviFile_Type",
  49.   propOrder = {
  50.     "identificativoSdI",
  51.     "dataOraRicezione",
  52.     "errore"
  53.   }
  54. )

  55. @XmlRootElement(name = "rispostaSdIRiceviFile_Type")

  56. public class RispostaSdIRiceviFileType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  57.   public RispostaSdIRiceviFileType() {
  58.     super();
  59.   }

  60.   public java.lang.String getIdentificativoSdI() {
  61.     return this.identificativoSdI;
  62.   }

  63.   public void setIdentificativoSdI(java.lang.String identificativoSdI) {
  64.     this.identificativoSdI = identificativoSdI;
  65.   }

  66.   public java.util.Date getDataOraRicezione() {
  67.     return this.dataOraRicezione;
  68.   }

  69.   public void setDataOraRicezione(java.util.Date dataOraRicezione) {
  70.     this.dataOraRicezione = dataOraRicezione;
  71.   }

  72.   public void setErroreRawEnumValue(String value) {
  73.     this.errore = (ErroreInvioType) ErroreInvioType.toEnumConstantFromString(value);
  74.   }

  75.   public String getErroreRawEnumValue() {
  76.     if(this.errore == null){
  77.         return null;
  78.     }else{
  79.         return this.errore.toString();
  80.     }
  81.   }

  82.   public it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.constants.ErroreInvioType getErrore() {
  83.     return this.errore;
  84.   }

  85.   public void setErrore(it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.constants.ErroreInvioType errore) {
  86.     this.errore = errore;
  87.   }

  88.   private static final long serialVersionUID = 1L;

  89.   private static it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.model.RispostaSdIRiceviFileTypeModel modelStaticInstance = null;
  90.   private static synchronized void initModelStaticInstance(){
  91.       if(it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.RispostaSdIRiceviFileType.modelStaticInstance==null){
  92.             it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.RispostaSdIRiceviFileType.modelStaticInstance = new it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.model.RispostaSdIRiceviFileTypeModel();
  93.       }
  94.   }
  95.   public static it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.model.RispostaSdIRiceviFileTypeModel model(){
  96.       if(it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.RispostaSdIRiceviFileType.modelStaticInstance==null){
  97.             initModelStaticInstance();
  98.       }
  99.       return it.gov.fatturapa.sdi.ws.trasmissione.v1_0.types.RispostaSdIRiceviFileType.modelStaticInstance;
  100.   }


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

  104.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  105.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  106.   @XmlElement(name="DataOraRicezione",required=true,nillable=false,type=java.lang.String.class)
  107.   protected java.util.Date dataOraRicezione;

  108.   @javax.xml.bind.annotation.XmlTransient
  109.   protected java.lang.String erroreRawEnumValue;

  110.   @XmlElement(name="Errore",required=false,nillable=false)
  111.   protected ErroreInvioType errore;

  112. }