TracciamentoConfigurazioneFiletraceConnector.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 java.io.Serializable;


  28. /** <p>Java class for tracciamento-configurazione-filetrace-connector complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="tracciamento-configurazione-filetrace-connector"&gt;
  34.  *      &lt;attribute name="stato" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional"/&gt;
  35.  *      &lt;attribute name="payload" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional"/&gt;
  36.  *      &lt;attribute name="header" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional"/&gt;
  37.  * &lt;/complexType&gt;
  38.  * </pre>
  39.  *
  40.  * @version $Rev$, $Date$
  41.  *
  42.  * @author Poli Andrea (poli@link.it)
  43.  * @author $Author$
  44.  * */

  45. @XmlAccessorType(XmlAccessType.FIELD)
  46. @XmlType(name = "tracciamento-configurazione-filetrace-connector")

  47. @XmlRootElement(name = "tracciamento-configurazione-filetrace-connector")

  48. public class TracciamentoConfigurazioneFiletraceConnector extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  49.   public TracciamentoConfigurazioneFiletraceConnector() {
  50.     super();
  51.   }

  52.   public void setStatoRawEnumValue(String value) {
  53.     this.stato = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  54.   }

  55.   public String getStatoRawEnumValue() {
  56.     if(this.stato == null){
  57.         return null;
  58.     }else{
  59.         return this.stato.toString();
  60.     }
  61.   }

  62.   public org.openspcoop2.core.config.constants.StatoFunzionalita getStato() {
  63.     return this.stato;
  64.   }

  65.   public void setStato(org.openspcoop2.core.config.constants.StatoFunzionalita stato) {
  66.     this.stato = stato;
  67.   }

  68.   public void setPayloadRawEnumValue(String value) {
  69.     this.payload = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  70.   }

  71.   public String getPayloadRawEnumValue() {
  72.     if(this.payload == null){
  73.         return null;
  74.     }else{
  75.         return this.payload.toString();
  76.     }
  77.   }

  78.   public org.openspcoop2.core.config.constants.StatoFunzionalita getPayload() {
  79.     return this.payload;
  80.   }

  81.   public void setPayload(org.openspcoop2.core.config.constants.StatoFunzionalita payload) {
  82.     this.payload = payload;
  83.   }

  84.   public void setHeaderRawEnumValue(String value) {
  85.     this.header = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  86.   }

  87.   public String getHeaderRawEnumValue() {
  88.     if(this.header == null){
  89.         return null;
  90.     }else{
  91.         return this.header.toString();
  92.     }
  93.   }

  94.   public org.openspcoop2.core.config.constants.StatoFunzionalita getHeader() {
  95.     return this.header;
  96.   }

  97.   public void setHeader(org.openspcoop2.core.config.constants.StatoFunzionalita header) {
  98.     this.header = header;
  99.   }

  100.   private static final long serialVersionUID = 1L;



  101.   @javax.xml.bind.annotation.XmlTransient
  102.   protected java.lang.String statoRawEnumValue;

  103.   @XmlAttribute(name="stato",required=false)
  104.   protected StatoFunzionalita stato;

  105.   @javax.xml.bind.annotation.XmlTransient
  106.   protected java.lang.String payloadRawEnumValue;

  107.   @XmlAttribute(name="payload",required=false)
  108.   protected StatoFunzionalita payload;

  109.   @javax.xml.bind.annotation.XmlTransient
  110.   protected java.lang.String headerRawEnumValue;

  111.   @XmlAttribute(name="header",required=false)
  112.   protected StatoFunzionalita header;

  113. }