MessaggioDiagnostico.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 org.openspcoop2.core.diagnostica;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for messaggio-diagnostico complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="messaggio-diagnostico"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="id-transazione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="dominio" type="{http://www.openspcoop2.org/core/diagnostica}dominio-diagnostico" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="identificativo-richiesta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="identificativo-risposta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="applicativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="ora-registrazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="1" maxOccurs="1"/&gt;
  40.  *          &lt;element name="codice" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  41.  *          &lt;element name="messaggio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  42.  *          &lt;element name="severita" type="{http://www.openspcoop2.org/core/diagnostica}positiveInteger" minOccurs="1" maxOccurs="1"/&gt;
  43.  *          &lt;element name="protocollo" type="{http://www.openspcoop2.org/core/diagnostica}protocollo" minOccurs="0" maxOccurs="1"/&gt;
  44.  *      &lt;/sequence&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 = "messaggio-diagnostico",
  55.   propOrder = {
  56.     "idTransazione",
  57.     "dominio",
  58.     "identificativoRichiesta",
  59.     "identificativoRisposta",
  60.     "applicativo",
  61.     "oraRegistrazione",
  62.     "codice",
  63.     "messaggio",
  64.     "severita",
  65.     "protocollo"
  66.   }
  67. )

  68. @XmlRootElement(name = "messaggio-diagnostico")

  69. public class MessaggioDiagnostico extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  70.   public MessaggioDiagnostico() {
  71.     super();
  72.   }

  73.   public java.lang.String getIdTransazione() {
  74.     return this.idTransazione;
  75.   }

  76.   public void setIdTransazione(java.lang.String idTransazione) {
  77.     this.idTransazione = idTransazione;
  78.   }

  79.   public DominioDiagnostico getDominio() {
  80.     return this.dominio;
  81.   }

  82.   public void setDominio(DominioDiagnostico dominio) {
  83.     this.dominio = dominio;
  84.   }

  85.   public java.lang.String getIdentificativoRichiesta() {
  86.     return this.identificativoRichiesta;
  87.   }

  88.   public void setIdentificativoRichiesta(java.lang.String identificativoRichiesta) {
  89.     this.identificativoRichiesta = identificativoRichiesta;
  90.   }

  91.   public java.lang.String getIdentificativoRisposta() {
  92.     return this.identificativoRisposta;
  93.   }

  94.   public void setIdentificativoRisposta(java.lang.String identificativoRisposta) {
  95.     this.identificativoRisposta = identificativoRisposta;
  96.   }

  97.   public java.lang.String getApplicativo() {
  98.     return this.applicativo;
  99.   }

  100.   public void setApplicativo(java.lang.String applicativo) {
  101.     this.applicativo = applicativo;
  102.   }

  103.   public java.util.Date getOraRegistrazione() {
  104.     return this.oraRegistrazione;
  105.   }

  106.   public void setOraRegistrazione(java.util.Date oraRegistrazione) {
  107.     this.oraRegistrazione = oraRegistrazione;
  108.   }

  109.   public java.lang.String getCodice() {
  110.     return this.codice;
  111.   }

  112.   public void setCodice(java.lang.String codice) {
  113.     this.codice = codice;
  114.   }

  115.   public java.lang.String getMessaggio() {
  116.     return this.messaggio;
  117.   }

  118.   public void setMessaggio(java.lang.String messaggio) {
  119.     this.messaggio = messaggio;
  120.   }

  121.   public java.lang.Integer getSeverita() {
  122.     return this.severita;
  123.   }

  124.   public void setSeverita(java.lang.Integer severita) {
  125.     this.severita = severita;
  126.   }

  127.   public Protocollo getProtocollo() {
  128.     return this.protocollo;
  129.   }

  130.   public void setProtocollo(Protocollo protocollo) {
  131.     this.protocollo = protocollo;
  132.   }

  133.   private static final long serialVersionUID = 1L;

  134.   private static org.openspcoop2.core.diagnostica.model.MessaggioDiagnosticoModel modelStaticInstance = null;
  135.   private static synchronized void initModelStaticInstance(){
  136.       if(org.openspcoop2.core.diagnostica.MessaggioDiagnostico.modelStaticInstance==null){
  137.             org.openspcoop2.core.diagnostica.MessaggioDiagnostico.modelStaticInstance = new org.openspcoop2.core.diagnostica.model.MessaggioDiagnosticoModel();
  138.       }
  139.   }
  140.   public static org.openspcoop2.core.diagnostica.model.MessaggioDiagnosticoModel model(){
  141.       if(org.openspcoop2.core.diagnostica.MessaggioDiagnostico.modelStaticInstance==null){
  142.             initModelStaticInstance();
  143.       }
  144.       return org.openspcoop2.core.diagnostica.MessaggioDiagnostico.modelStaticInstance;
  145.   }


  146.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  147.   @XmlElement(name="id-transazione",required=false,nillable=false)
  148.   protected java.lang.String idTransazione;

  149.   @XmlElement(name="dominio",required=true,nillable=false)
  150.   protected DominioDiagnostico dominio;

  151.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  152.   @XmlElement(name="identificativo-richiesta",required=false,nillable=false)
  153.   protected java.lang.String identificativoRichiesta;

  154.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  155.   @XmlElement(name="identificativo-risposta",required=false,nillable=false)
  156.   protected java.lang.String identificativoRisposta;

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

  160.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  161.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  162.   @XmlElement(name="ora-registrazione",required=true,nillable=false,type=java.lang.String.class)
  163.   protected java.util.Date oraRegistrazione;

  164.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  165.   @XmlElement(name="codice",required=true,nillable=false)
  166.   protected java.lang.String codice;

  167.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  168.   @XmlElement(name="messaggio",required=true,nillable=false)
  169.   protected java.lang.String messaggio;

  170.   @javax.xml.bind.annotation.XmlSchemaType(name="positiveInteger")
  171.   @XmlElement(name="severita",required=true,nillable=false)
  172.   protected java.lang.Integer severita;

  173.   @XmlElement(name="protocollo",required=false,nillable=false)
  174.   protected Protocollo protocollo;

  175. }