ConfigurazioneTransazioneRisorsaContenuto.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.PosizioneMascheramento;
  27. import org.openspcoop2.monitor.engine.config.transazioni.constants.TipoCompressione;
  28. import org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMascheramento;
  29. import org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMessaggio;
  30. import java.io.Serializable;


  31. /** <p>Java class for configurazione-transazione-risorsa-contenuto complex type.
  32.  *
  33.  * <p>The following schema fragment specifies the expected content contained within this class.
  34.  *
  35.  * <pre>
  36.  * &lt;complexType name="configurazione-transazione-risorsa-contenuto"&gt;
  37.  *      &lt;sequence&gt;
  38.  *          &lt;element name="abilita-anonimizzazione" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="1" maxOccurs="1" default="0"/&gt;
  39.  *          &lt;element name="abilita-compressione" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="1" maxOccurs="1" default="0"/&gt;
  40.  *          &lt;element name="tipo-compressione" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}tipo-compressione" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="carattere-maschera" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="numero-caratteri-maschera" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0" maxOccurs="1"/&gt;
  43.  *          &lt;element name="posizionamento-maschera" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}posizione-mascheramento" minOccurs="0" maxOccurs="1"/&gt;
  44.  *          &lt;element name="tipo-mascheramento" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}tipo-mascheramento" minOccurs="0" maxOccurs="1"/&gt;
  45.  *          &lt;element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1"/&gt;
  46.  *          &lt;element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  47.  *          &lt;element name="tipo-messaggio" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}tipo-messaggio" minOccurs="1" maxOccurs="1"/&gt;
  48.  *          &lt;element name="xpath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  49.  *          &lt;element name="stat-enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  50.  *          &lt;element name="id-configurazione-transazione-stato" type="{http://www.openspcoop2.org/monitor/engine/config/transazioni}id-configurazione-transazione-stato" minOccurs="0" maxOccurs="1"/&gt;
  51.  *      &lt;/sequence&gt;
  52.  * &lt;/complexType&gt;
  53.  * </pre>
  54.  *
  55.  * @version $Rev$, $Date$
  56.  *
  57.  * @author Poli Andrea (poli@link.it)
  58.  * @author $Author$
  59.  * */

  60. @XmlAccessorType(XmlAccessType.FIELD)
  61. @XmlType(name = "configurazione-transazione-risorsa-contenuto",
  62.   propOrder = {
  63.     "abilitaAnonimizzazione",
  64.     "abilitaCompressione",
  65.     "tipoCompressione",
  66.     "_carattereMaschera_Value",
  67.     "numeroCaratteriMaschera",
  68.     "posizionamentoMaschera",
  69.     "tipoMascheramento",
  70.     "enabled",
  71.     "nome",
  72.     "tipoMessaggio",
  73.     "xpath",
  74.     "statEnabled",
  75.     "idConfigurazioneTransazioneStato"
  76.   }
  77. )

  78. @XmlRootElement(name = "configurazione-transazione-risorsa-contenuto")

  79. public class ConfigurazioneTransazioneRisorsaContenuto extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  80.   public ConfigurazioneTransazioneRisorsaContenuto() {
  81.     super();
  82.   }

  83.   public java.lang.Integer getAbilitaAnonimizzazione() {
  84.     return this.abilitaAnonimizzazione;
  85.   }

  86.   public void setAbilitaAnonimizzazione(java.lang.Integer abilitaAnonimizzazione) {
  87.     this.abilitaAnonimizzazione = abilitaAnonimizzazione;
  88.   }

  89.   public java.lang.Integer getAbilitaCompressione() {
  90.     return this.abilitaCompressione;
  91.   }

  92.   public void setAbilitaCompressione(java.lang.Integer abilitaCompressione) {
  93.     this.abilitaCompressione = abilitaCompressione;
  94.   }

  95.   public void setTipoCompressioneRawEnumValue(String value) {
  96.     this.tipoCompressione = (TipoCompressione) TipoCompressione.toEnumConstantFromString(value);
  97.   }

  98.   public String getTipoCompressioneRawEnumValue() {
  99.     if(this.tipoCompressione == null){
  100.         return null;
  101.     }else{
  102.         return this.tipoCompressione.toString();
  103.     }
  104.   }

  105.   public org.openspcoop2.monitor.engine.config.transazioni.constants.TipoCompressione getTipoCompressione() {
  106.     return this.tipoCompressione;
  107.   }

  108.   public void setTipoCompressione(org.openspcoop2.monitor.engine.config.transazioni.constants.TipoCompressione tipoCompressione) {
  109.     this.tipoCompressione = tipoCompressione;
  110.   }

  111.   public char getCarattereMaschera() {
  112.     if(this._carattereMaschera_Value==null){
  113.         // primitive default value
  114.         return '\u0000';
  115.     }else{
  116.         return this._carattereMaschera_Value;
  117.     }

  118.   }

  119.   public void setCarattereMaschera(char carattereMaschera) {
  120.     this._carattereMaschera_Value = carattereMaschera;
  121.   }

  122.   public java.lang.Integer getNumeroCaratteriMaschera() {
  123.     return this.numeroCaratteriMaschera;
  124.   }

  125.   public void setNumeroCaratteriMaschera(java.lang.Integer numeroCaratteriMaschera) {
  126.     this.numeroCaratteriMaschera = numeroCaratteriMaschera;
  127.   }

  128.   public void setPosizionamentoMascheraRawEnumValue(String value) {
  129.     this.posizionamentoMaschera = (PosizioneMascheramento) PosizioneMascheramento.toEnumConstantFromString(value);
  130.   }

  131.   public String getPosizionamentoMascheraRawEnumValue() {
  132.     if(this.posizionamentoMaschera == null){
  133.         return null;
  134.     }else{
  135.         return this.posizionamentoMaschera.toString();
  136.     }
  137.   }

  138.   public org.openspcoop2.monitor.engine.config.transazioni.constants.PosizioneMascheramento getPosizionamentoMaschera() {
  139.     return this.posizionamentoMaschera;
  140.   }

  141.   public void setPosizionamentoMaschera(org.openspcoop2.monitor.engine.config.transazioni.constants.PosizioneMascheramento posizionamentoMaschera) {
  142.     this.posizionamentoMaschera = posizionamentoMaschera;
  143.   }

  144.   public void setTipoMascheramentoRawEnumValue(String value) {
  145.     this.tipoMascheramento = (TipoMascheramento) TipoMascheramento.toEnumConstantFromString(value);
  146.   }

  147.   public String getTipoMascheramentoRawEnumValue() {
  148.     if(this.tipoMascheramento == null){
  149.         return null;
  150.     }else{
  151.         return this.tipoMascheramento.toString();
  152.     }
  153.   }

  154.   public org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMascheramento getTipoMascheramento() {
  155.     return this.tipoMascheramento;
  156.   }

  157.   public void setTipoMascheramento(org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMascheramento tipoMascheramento) {
  158.     this.tipoMascheramento = tipoMascheramento;
  159.   }

  160.   public boolean isEnabled() {
  161.     return this.enabled;
  162.   }

  163.   public boolean getEnabled() {
  164.     return this.enabled;
  165.   }

  166.   public void setEnabled(boolean enabled) {
  167.     this.enabled = enabled;
  168.   }

  169.   public java.lang.String getNome() {
  170.     return this.nome;
  171.   }

  172.   public void setNome(java.lang.String nome) {
  173.     this.nome = nome;
  174.   }

  175.   public void setTipoMessaggioRawEnumValue(String value) {
  176.     this.tipoMessaggio = (TipoMessaggio) TipoMessaggio.toEnumConstantFromString(value);
  177.   }

  178.   public String getTipoMessaggioRawEnumValue() {
  179.     if(this.tipoMessaggio == null){
  180.         return null;
  181.     }else{
  182.         return this.tipoMessaggio.toString();
  183.     }
  184.   }

  185.   public org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMessaggio getTipoMessaggio() {
  186.     return this.tipoMessaggio;
  187.   }

  188.   public void setTipoMessaggio(org.openspcoop2.monitor.engine.config.transazioni.constants.TipoMessaggio tipoMessaggio) {
  189.     this.tipoMessaggio = tipoMessaggio;
  190.   }

  191.   public java.lang.String getXpath() {
  192.     return this.xpath;
  193.   }

  194.   public void setXpath(java.lang.String xpath) {
  195.     this.xpath = xpath;
  196.   }

  197.   public boolean isStatEnabled() {
  198.     return this.statEnabled;
  199.   }

  200.   public boolean getStatEnabled() {
  201.     return this.statEnabled;
  202.   }

  203.   public void setStatEnabled(boolean statEnabled) {
  204.     this.statEnabled = statEnabled;
  205.   }

  206.   public IdConfigurazioneTransazioneStato getIdConfigurazioneTransazioneStato() {
  207.     return this.idConfigurazioneTransazioneStato;
  208.   }

  209.   public void setIdConfigurazioneTransazioneStato(IdConfigurazioneTransazioneStato idConfigurazioneTransazioneStato) {
  210.     this.idConfigurazioneTransazioneStato = idConfigurazioneTransazioneStato;
  211.   }

  212.   private static final long serialVersionUID = 1L;



  213.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  214.   @XmlElement(name="abilita-anonimizzazione",required=true,nillable=false,defaultValue="0")
  215.   protected java.lang.Integer abilitaAnonimizzazione = java.lang.Integer.valueOf("0");

  216.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  217.   @XmlElement(name="abilita-compressione",required=true,nillable=false,defaultValue="0")
  218.   protected java.lang.Integer abilitaCompressione = java.lang.Integer.valueOf("0");

  219.   @javax.xml.bind.annotation.XmlTransient
  220.   protected java.lang.String tipoCompressioneRawEnumValue;

  221.   @XmlElement(name="tipo-compressione",required=false,nillable=false)
  222.   protected TipoCompressione tipoCompressione;

  223.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Char2String.class)
  224.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  225.   @XmlElement(name="carattere-maschera",required=false,nillable=false)
  226.   protected java.lang.Character _carattereMaschera_Value;

  227.   @javax.xml.bind.annotation.XmlTransient
  228.   protected char carattereMaschera;

  229.   public java.lang.Character get_carattereMaschera_Value() {
  230.     return this._carattereMaschera_Value;
  231.   }
  232.   public void set_carattereMaschera_Value(java.lang.Character carattereMascheraValue) {
  233.     this._carattereMaschera_Value = carattereMascheraValue;
  234.   }

  235.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  236.   @XmlElement(name="numero-caratteri-maschera",required=false,nillable=false)
  237.   protected java.lang.Integer numeroCaratteriMaschera;

  238.   @javax.xml.bind.annotation.XmlTransient
  239.   protected java.lang.String posizionamentoMascheraRawEnumValue;

  240.   @XmlElement(name="posizionamento-maschera",required=false,nillable=false)
  241.   protected PosizioneMascheramento posizionamentoMaschera;

  242.   @javax.xml.bind.annotation.XmlTransient
  243.   protected java.lang.String tipoMascheramentoRawEnumValue;

  244.   @XmlElement(name="tipo-mascheramento",required=false,nillable=false)
  245.   protected TipoMascheramento tipoMascheramento;

  246.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  247.   @XmlElement(name="enabled",required=true,nillable=false)
  248.   protected boolean enabled;

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

  252.   @javax.xml.bind.annotation.XmlTransient
  253.   protected java.lang.String tipoMessaggioRawEnumValue;

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

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

  259.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  260.   @XmlElement(name="stat-enabled",required=true,nillable=false,defaultValue="false")
  261.   protected boolean statEnabled = false;

  262.   @XmlElement(name="id-configurazione-transazione-stato",required=false,nillable=false)
  263.   protected IdConfigurazioneTransazioneStato idConfigurazioneTransazioneStato;

  264. }