TrasformazioneRegolaParametro.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.TrasformazioneIdentificazioneRisorsaFallita;
  27. import org.openspcoop2.core.config.constants.TrasformazioneRegolaParametroTipoAzione;
  28. import java.io.Serializable;


  29. /** <p>Java class for trasformazione-regola-parametro complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="trasformazione-regola-parametro"&gt;
  35.  *      &lt;attribute name="conversione-tipo" type="{http://www.openspcoop2.org/core/config}TrasformazioneRegolaParametroTipoAzione" use="required"/&gt;
  36.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  37.  *      &lt;attribute name="valore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  38.  *      &lt;attribute name="identificazione-fallita" type="{http://www.openspcoop2.org/core/config}TrasformazioneIdentificazioneRisorsaFallita" use="optional"/&gt;
  39.  * &lt;/complexType&gt;
  40.  * </pre>
  41.  *
  42.  * @version $Rev$, $Date$
  43.  *
  44.  * @author Poli Andrea (poli@link.it)
  45.  * @author $Author$
  46.  * */

  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "trasformazione-regola-parametro")

  49. @XmlRootElement(name = "trasformazione-regola-parametro")

  50. public class TrasformazioneRegolaParametro extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  51.   public TrasformazioneRegolaParametro() {
  52.     super();
  53.   }

  54.   public void setConversioneTipoRawEnumValue(String value) {
  55.     this.conversioneTipo = (TrasformazioneRegolaParametroTipoAzione) TrasformazioneRegolaParametroTipoAzione.toEnumConstantFromString(value);
  56.   }

  57.   public String getConversioneTipoRawEnumValue() {
  58.     if(this.conversioneTipo == null){
  59.         return null;
  60.     }else{
  61.         return this.conversioneTipo.toString();
  62.     }
  63.   }

  64.   public org.openspcoop2.core.config.constants.TrasformazioneRegolaParametroTipoAzione getConversioneTipo() {
  65.     return this.conversioneTipo;
  66.   }

  67.   public void setConversioneTipo(org.openspcoop2.core.config.constants.TrasformazioneRegolaParametroTipoAzione conversioneTipo) {
  68.     this.conversioneTipo = conversioneTipo;
  69.   }

  70.   public java.lang.String getNome() {
  71.     return this.nome;
  72.   }

  73.   public void setNome(java.lang.String nome) {
  74.     this.nome = nome;
  75.   }

  76.   public java.lang.String getValore() {
  77.     return this.valore;
  78.   }

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

  82.   public void setIdentificazioneFallitaRawEnumValue(String value) {
  83.     this.identificazioneFallita = (TrasformazioneIdentificazioneRisorsaFallita) TrasformazioneIdentificazioneRisorsaFallita.toEnumConstantFromString(value);
  84.   }

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

  92.   public org.openspcoop2.core.config.constants.TrasformazioneIdentificazioneRisorsaFallita getIdentificazioneFallita() {
  93.     return this.identificazioneFallita;
  94.   }

  95.   public void setIdentificazioneFallita(org.openspcoop2.core.config.constants.TrasformazioneIdentificazioneRisorsaFallita identificazioneFallita) {
  96.     this.identificazioneFallita = identificazioneFallita;
  97.   }

  98.   private static final long serialVersionUID = 1L;



  99.   @javax.xml.bind.annotation.XmlTransient
  100.   protected java.lang.String conversioneTipoRawEnumValue;

  101.   @XmlAttribute(name="conversione-tipo",required=true)
  102.   protected TrasformazioneRegolaParametroTipoAzione conversioneTipo;

  103.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  104.   @XmlAttribute(name="nome",required=true)
  105.   protected java.lang.String nome;

  106.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  107.   @XmlAttribute(name="valore",required=false)
  108.   protected java.lang.String valore;

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

  111.   @XmlAttribute(name="identificazione-fallita",required=false)
  112.   protected TrasformazioneIdentificazioneRisorsaFallita identificazioneFallita;

  113. }