CorrelazioneApplicativaRispostaElemento.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.CorrelazioneApplicativaGestioneIdentificazioneFallita;
  27. import org.openspcoop2.core.config.constants.CorrelazioneApplicativaRispostaIdentificazione;
  28. import java.io.Serializable;


  29. /** <p>Java class for correlazione-applicativa-risposta-elemento complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="correlazione-applicativa-risposta-elemento"&gt;
  35.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  36.  *      &lt;attribute name="identificazione" type="{http://www.openspcoop2.org/core/config}CorrelazioneApplicativaRispostaIdentificazione" use="optional" default="contentBased"/&gt;
  37.  *      &lt;attribute name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  38.  *      &lt;attribute name="identificazione-fallita" type="{http://www.openspcoop2.org/core/config}CorrelazioneApplicativaGestioneIdentificazioneFallita" use="optional" default="blocca"/&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 = "correlazione-applicativa-risposta-elemento")

  49. @XmlRootElement(name = "correlazione-applicativa-risposta-elemento")

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

  54.   public java.lang.String getNome() {
  55.     return this.nome;
  56.   }

  57.   public void setNome(java.lang.String nome) {
  58.     this.nome = nome;
  59.   }

  60.   public void setIdentificazioneRawEnumValue(String value) {
  61.     this.identificazione = (CorrelazioneApplicativaRispostaIdentificazione) CorrelazioneApplicativaRispostaIdentificazione.toEnumConstantFromString(value);
  62.   }

  63.   public String getIdentificazioneRawEnumValue() {
  64.     if(this.identificazione == null){
  65.         return null;
  66.     }else{
  67.         return this.identificazione.toString();
  68.     }
  69.   }

  70.   public org.openspcoop2.core.config.constants.CorrelazioneApplicativaRispostaIdentificazione getIdentificazione() {
  71.     return this.identificazione;
  72.   }

  73.   public void setIdentificazione(org.openspcoop2.core.config.constants.CorrelazioneApplicativaRispostaIdentificazione identificazione) {
  74.     this.identificazione = identificazione;
  75.   }

  76.   public java.lang.String getPattern() {
  77.     return this.pattern;
  78.   }

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

  82.   public void setIdentificazioneFallitaRawEnumValue(String value) {
  83.     this.identificazioneFallita = (CorrelazioneApplicativaGestioneIdentificazioneFallita) CorrelazioneApplicativaGestioneIdentificazioneFallita.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.CorrelazioneApplicativaGestioneIdentificazioneFallita getIdentificazioneFallita() {
  93.     return this.identificazioneFallita;
  94.   }

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

  98.   private static final long serialVersionUID = 1L;



  99.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  100.   @XmlAttribute(name="nome",required=false)
  101.   protected java.lang.String nome;

  102.   @javax.xml.bind.annotation.XmlTransient
  103.   protected java.lang.String identificazioneRawEnumValue;

  104.   @XmlAttribute(name="identificazione",required=false)
  105.   protected CorrelazioneApplicativaRispostaIdentificazione identificazione = (CorrelazioneApplicativaRispostaIdentificazione) CorrelazioneApplicativaRispostaIdentificazione.toEnumConstantFromString("contentBased");

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

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

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

  113. }