Transazioni.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 transazioni complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="transazioni"&gt;
  34.  *      &lt;attribute name="tempi-elaborazione" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  35.  *      &lt;attribute name="token" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="abilitato"/&gt;
  36.  * &lt;/complexType&gt;
  37.  * </pre>
  38.  *
  39.  * @version $Rev$, $Date$
  40.  *
  41.  * @author Poli Andrea (poli@link.it)
  42.  * @author $Author$
  43.  * */

  44. @XmlAccessorType(XmlAccessType.FIELD)
  45. @XmlType(name = "transazioni")

  46. @XmlRootElement(name = "transazioni")

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

  51.   public void setTempiElaborazioneRawEnumValue(String value) {
  52.     this.tempiElaborazione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  53.   }

  54.   public String getTempiElaborazioneRawEnumValue() {
  55.     if(this.tempiElaborazione == null){
  56.         return null;
  57.     }else{
  58.         return this.tempiElaborazione.toString();
  59.     }
  60.   }

  61.   public org.openspcoop2.core.config.constants.StatoFunzionalita getTempiElaborazione() {
  62.     return this.tempiElaborazione;
  63.   }

  64.   public void setTempiElaborazione(org.openspcoop2.core.config.constants.StatoFunzionalita tempiElaborazione) {
  65.     this.tempiElaborazione = tempiElaborazione;
  66.   }

  67.   public void setTokenRawEnumValue(String value) {
  68.     this.token = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  69.   }

  70.   public String getTokenRawEnumValue() {
  71.     if(this.token == null){
  72.         return null;
  73.     }else{
  74.         return this.token.toString();
  75.     }
  76.   }

  77.   public org.openspcoop2.core.config.constants.StatoFunzionalita getToken() {
  78.     return this.token;
  79.   }

  80.   public void setToken(org.openspcoop2.core.config.constants.StatoFunzionalita token) {
  81.     this.token = token;
  82.   }

  83.   private static final long serialVersionUID = 1L;



  84.   @javax.xml.bind.annotation.XmlTransient
  85.   protected java.lang.String tempiElaborazioneRawEnumValue;

  86.   @XmlAttribute(name="tempi-elaborazione",required=false)
  87.   protected StatoFunzionalita tempiElaborazione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  88.   @javax.xml.bind.annotation.XmlTransient
  89.   protected java.lang.String tokenRawEnumValue;

  90.   @XmlAttribute(name="token",required=false)
  91.   protected StatoFunzionalita token = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("abilitato");

  92. }