ConfigurazioneTransazioneStato.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.monitor.engine.config.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.monitor.engine.config.transazioni.constants.TipoControllo;
  27. import org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMessaggio;
  28. import java.io.Serializable;


  29. /** <p>Java class for configurazione-transazione-stato complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="configurazione-transazione-stato"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="tipo-controllo" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}tipo-controllo" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="tipo-messaggio" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}tipo-messaggio" minOccurs="1" maxOccurs="1"/&gt;
  40.  *          &lt;element name="valore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="xpath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  42.  *      &lt;/sequence&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 = "configurazione-transazione-stato",
  53.   propOrder = {
  54.     "enabled",
  55.     "nome",
  56.     "tipoControllo",
  57.     "tipoMessaggio",
  58.     "valore",
  59.     "xpath"
  60.   }
  61. )

  62. @XmlRootElement(name = "configurazione-transazione-stato")

  63. public class ConfigurazioneTransazioneStato extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  64.   public ConfigurazioneTransazioneStato() {
  65.     super();
  66.   }

  67.   public boolean isEnabled() {
  68.     return this.enabled;
  69.   }

  70.   public boolean getEnabled() {
  71.     return this.enabled;
  72.   }

  73.   public void setEnabled(boolean enabled) {
  74.     this.enabled = enabled;
  75.   }

  76.   public java.lang.String getNome() {
  77.     return this.nome;
  78.   }

  79.   public void setNome(java.lang.String nome) {
  80.     this.nome = nome;
  81.   }

  82.   public void setTipoControlloRawEnumValue(String value) {
  83.     this.tipoControllo = (TipoControllo) TipoControllo.toEnumConstantFromString(value);
  84.   }

  85.   public String getTipoControlloRawEnumValue() {
  86.     if(this.tipoControllo == null){
  87.         return null;
  88.     }else{
  89.         return this.tipoControllo.toString();
  90.     }
  91.   }

  92.   public org.openspcoop2.monitor.engine.config.transazioni.constants.TipoControllo getTipoControllo() {
  93.     return this.tipoControllo;
  94.   }

  95.   public void setTipoControllo(org.openspcoop2.monitor.engine.config.transazioni.constants.TipoControllo tipoControllo) {
  96.     this.tipoControllo = tipoControllo;
  97.   }

  98.   public void setTipoMessaggioRawEnumValue(String value) {
  99.     this.tipoMessaggio = (TipoMessaggio) TipoMessaggio.toEnumConstantFromString(value);
  100.   }

  101.   public String getTipoMessaggioRawEnumValue() {
  102.     if(this.tipoMessaggio == null){
  103.         return null;
  104.     }else{
  105.         return this.tipoMessaggio.toString();
  106.     }
  107.   }

  108.   public org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMessaggio getTipoMessaggio() {
  109.     return this.tipoMessaggio;
  110.   }

  111.   public void setTipoMessaggio(org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMessaggio tipoMessaggio) {
  112.     this.tipoMessaggio = tipoMessaggio;
  113.   }

  114.   public java.lang.String getValore() {
  115.     return this.valore;
  116.   }

  117.   public void setValore(java.lang.String valore) {
  118.     this.valore = valore;
  119.   }

  120.   public java.lang.String getXpath() {
  121.     return this.xpath;
  122.   }

  123.   public void setXpath(java.lang.String xpath) {
  124.     this.xpath = xpath;
  125.   }

  126.   private static final long serialVersionUID = 1L;



  127.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  128.   @XmlElement(name="enabled",required=true,nillable=false)
  129.   protected boolean enabled;

  130.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  131.   @XmlElement(name="nome",required=true,nillable=false)
  132.   protected java.lang.String nome;

  133.   @javax.xml.bind.annotation.XmlTransient
  134.   protected java.lang.String tipoControlloRawEnumValue;

  135.   @XmlElement(name="tipo-controllo",required=true,nillable=false)
  136.   protected TipoControllo tipoControllo;

  137.   @javax.xml.bind.annotation.XmlTransient
  138.   protected java.lang.String tipoMessaggioRawEnumValue;

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

  141.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  142.   @XmlElement(name="valore",required=false,nillable=false)
  143.   protected java.lang.String valore;

  144.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  145.   @XmlElement(name="xpath",required=true,nillable=false)
  146.   protected java.lang.String xpath;

  147. }