IdDumpMessaggio.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.transazioni;

  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 org.openspcoop2.core.transazioni.constants.TipoMessaggio;
  27. import java.io.Serializable;


  28. /** <p>Java class for id-dump-messaggio complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="id-dump-messaggio"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="id-transazione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="tipo-messaggio" type="{http://www.openspcoop2.org/core/transazioni}tipo-messaggio" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="servizio-applicativo-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" 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 = "id-dump-messaggio",
  49.   propOrder = {
  50.     "idTransazione",
  51.     "tipoMessaggio",
  52.     "servizioApplicativoErogatore"
  53.   }
  54. )

  55. @XmlRootElement(name = "id-dump-messaggio")

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

  60.   public java.lang.String getIdTransazione() {
  61.     return this.idTransazione;
  62.   }

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

  66.   public void setTipoMessaggioRawEnumValue(String value) {
  67.     this.tipoMessaggio = (TipoMessaggio) TipoMessaggio.toEnumConstantFromString(value);
  68.   }

  69.   public String getTipoMessaggioRawEnumValue() {
  70.     if(this.tipoMessaggio == null){
  71.         return null;
  72.     }else{
  73.         return this.tipoMessaggio.toString();
  74.     }
  75.   }

  76.   public org.openspcoop2.core.transazioni.constants.TipoMessaggio getTipoMessaggio() {
  77.     return this.tipoMessaggio;
  78.   }

  79.   public void setTipoMessaggio(org.openspcoop2.core.transazioni.constants.TipoMessaggio tipoMessaggio) {
  80.     this.tipoMessaggio = tipoMessaggio;
  81.   }

  82.   public java.lang.String getServizioApplicativoErogatore() {
  83.     return this.servizioApplicativoErogatore;
  84.   }

  85.   public void setServizioApplicativoErogatore(java.lang.String servizioApplicativoErogatore) {
  86.     this.servizioApplicativoErogatore = servizioApplicativoErogatore;
  87.   }

  88.   private static final long serialVersionUID = 1L;



  89.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  90.   @XmlElement(name="id-transazione",required=true,nillable=false)
  91.   protected java.lang.String idTransazione;

  92.   @javax.xml.bind.annotation.XmlTransient
  93.   protected java.lang.String tipoMessaggioRawEnumValue;

  94.   @XmlElement(name="tipo-messaggio",required=true,nillable=false)
  95.   protected TipoMessaggio tipoMessaggio;

  96.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  97.   @XmlElement(name="servizio-applicativo-erogatore",required=false,nillable=false)
  98.   protected java.lang.String servizioApplicativoErogatore;

  99. }