TracciamentoConfigurazione.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.config;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlAttribute;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import org.openspcoop2.core.config.constants.StatoFunzionalita;
  27. import org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante;
  28. import org.openspcoop2.core.config.constants.StatoFunzionalitaConPersonalizzazione;
  29. import java.io.Serializable;


  30. /** <p>Java class for tracciamento-configurazione complex type.
  31.  *
  32.  * <p>The following schema fragment specifies the expected content contained within this class.
  33.  *
  34.  * <pre>
  35.  * &lt;complexType name="tracciamento-configurazione"&gt;
  36.  *      &lt;attribute name="stato" type="{http://www.openspcoop2.org/core/config}StatoFunzionalitaConPersonalizzazione" use="optional"/&gt;
  37.  *      &lt;attribute name="filtro-esiti" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional"/&gt;
  38.  *      &lt;attribute name="request-in" type="{http://www.openspcoop2.org/core/config}StatoFunzionalitaBloccante" use="optional" default="disabilitato"/&gt;
  39.  *      &lt;attribute name="request-out" type="{http://www.openspcoop2.org/core/config}StatoFunzionalitaBloccante" use="optional" default="disabilitato"/&gt;
  40.  *      &lt;attribute name="response-out" type="{http://www.openspcoop2.org/core/config}StatoFunzionalitaBloccante" use="optional" default="disabilitato"/&gt;
  41.  *      &lt;attribute name="response-out-complete" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="abilitato"/&gt;
  42.  * &lt;/complexType&gt;
  43.  * </pre>
  44.  *
  45.  * @version $Rev$, $Date$
  46.  *
  47.  * @author Poli Andrea (poli@link.it)
  48.  * @author $Author$
  49.  * */

  50. @XmlAccessorType(XmlAccessType.FIELD)
  51. @XmlType(name = "tracciamento-configurazione")

  52. @XmlRootElement(name = "tracciamento-configurazione")

  53. public class TracciamentoConfigurazione extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  54.   public TracciamentoConfigurazione() {
  55.     super();
  56.   }

  57.   public void setStatoRawEnumValue(String value) {
  58.     this.stato = (StatoFunzionalitaConPersonalizzazione) StatoFunzionalitaConPersonalizzazione.toEnumConstantFromString(value);
  59.   }

  60.   public String getStatoRawEnumValue() {
  61.     if(this.stato == null){
  62.         return null;
  63.     }else{
  64.         return this.stato.toString();
  65.     }
  66.   }

  67.   public org.openspcoop2.core.config.constants.StatoFunzionalitaConPersonalizzazione getStato() {
  68.     return this.stato;
  69.   }

  70.   public void setStato(org.openspcoop2.core.config.constants.StatoFunzionalitaConPersonalizzazione stato) {
  71.     this.stato = stato;
  72.   }

  73.   public void setFiltroEsitiRawEnumValue(String value) {
  74.     this.filtroEsiti = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  75.   }

  76.   public String getFiltroEsitiRawEnumValue() {
  77.     if(this.filtroEsiti == null){
  78.         return null;
  79.     }else{
  80.         return this.filtroEsiti.toString();
  81.     }
  82.   }

  83.   public org.openspcoop2.core.config.constants.StatoFunzionalita getFiltroEsiti() {
  84.     return this.filtroEsiti;
  85.   }

  86.   public void setFiltroEsiti(org.openspcoop2.core.config.constants.StatoFunzionalita filtroEsiti) {
  87.     this.filtroEsiti = filtroEsiti;
  88.   }

  89.   public void setRequestInRawEnumValue(String value) {
  90.     this.requestIn = (StatoFunzionalitaBloccante) StatoFunzionalitaBloccante.toEnumConstantFromString(value);
  91.   }

  92.   public String getRequestInRawEnumValue() {
  93.     if(this.requestIn == null){
  94.         return null;
  95.     }else{
  96.         return this.requestIn.toString();
  97.     }
  98.   }

  99.   public org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante getRequestIn() {
  100.     return this.requestIn;
  101.   }

  102.   public void setRequestIn(org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante requestIn) {
  103.     this.requestIn = requestIn;
  104.   }

  105.   public void setRequestOutRawEnumValue(String value) {
  106.     this.requestOut = (StatoFunzionalitaBloccante) StatoFunzionalitaBloccante.toEnumConstantFromString(value);
  107.   }

  108.   public String getRequestOutRawEnumValue() {
  109.     if(this.requestOut == null){
  110.         return null;
  111.     }else{
  112.         return this.requestOut.toString();
  113.     }
  114.   }

  115.   public org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante getRequestOut() {
  116.     return this.requestOut;
  117.   }

  118.   public void setRequestOut(org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante requestOut) {
  119.     this.requestOut = requestOut;
  120.   }

  121.   public void setResponseOutRawEnumValue(String value) {
  122.     this.responseOut = (StatoFunzionalitaBloccante) StatoFunzionalitaBloccante.toEnumConstantFromString(value);
  123.   }

  124.   public String getResponseOutRawEnumValue() {
  125.     if(this.responseOut == null){
  126.         return null;
  127.     }else{
  128.         return this.responseOut.toString();
  129.     }
  130.   }

  131.   public org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante getResponseOut() {
  132.     return this.responseOut;
  133.   }

  134.   public void setResponseOut(org.openspcoop2.core.config.constants.StatoFunzionalitaBloccante responseOut) {
  135.     this.responseOut = responseOut;
  136.   }

  137.   public void setResponseOutCompleteRawEnumValue(String value) {
  138.     this.responseOutComplete = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  139.   }

  140.   public String getResponseOutCompleteRawEnumValue() {
  141.     if(this.responseOutComplete == null){
  142.         return null;
  143.     }else{
  144.         return this.responseOutComplete.toString();
  145.     }
  146.   }

  147.   public org.openspcoop2.core.config.constants.StatoFunzionalita getResponseOutComplete() {
  148.     return this.responseOutComplete;
  149.   }

  150.   public void setResponseOutComplete(org.openspcoop2.core.config.constants.StatoFunzionalita responseOutComplete) {
  151.     this.responseOutComplete = responseOutComplete;
  152.   }

  153.   private static final long serialVersionUID = 1L;



  154.   @javax.xml.bind.annotation.XmlTransient
  155.   protected java.lang.String statoRawEnumValue;

  156.   @XmlAttribute(name="stato",required=false)
  157.   protected StatoFunzionalitaConPersonalizzazione stato;

  158.   @javax.xml.bind.annotation.XmlTransient
  159.   protected java.lang.String filtroEsitiRawEnumValue;

  160.   @XmlAttribute(name="filtro-esiti",required=false)
  161.   protected StatoFunzionalita filtroEsiti;

  162.   @javax.xml.bind.annotation.XmlTransient
  163.   protected java.lang.String requestInRawEnumValue;

  164.   @XmlAttribute(name="request-in",required=false)
  165.   protected StatoFunzionalitaBloccante requestIn = (StatoFunzionalitaBloccante) StatoFunzionalitaBloccante.toEnumConstantFromString("disabilitato");

  166.   @javax.xml.bind.annotation.XmlTransient
  167.   protected java.lang.String requestOutRawEnumValue;

  168.   @XmlAttribute(name="request-out",required=false)
  169.   protected StatoFunzionalitaBloccante requestOut = (StatoFunzionalitaBloccante) StatoFunzionalitaBloccante.toEnumConstantFromString("disabilitato");

  170.   @javax.xml.bind.annotation.XmlTransient
  171.   protected java.lang.String responseOutRawEnumValue;

  172.   @XmlAttribute(name="response-out",required=false)
  173.   protected StatoFunzionalitaBloccante responseOut = (StatoFunzionalitaBloccante) StatoFunzionalitaBloccante.toEnumConstantFromString("disabilitato");

  174.   @javax.xml.bind.annotation.XmlTransient
  175.   protected java.lang.String responseOutCompleteRawEnumValue;

  176.   @XmlAttribute(name="response-out-complete",required=false)
  177.   protected StatoFunzionalita responseOutComplete = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("abilitato");

  178. }