CorrelazioneApplicativaElemento.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.CorrelazioneApplicativaRichiestaIdentificazione;
  28. import org.openspcoop2.core.config.constants.StatoFunzionalita;
  29. import java.io.Serializable;


  30. /** <p>Java class for correlazione-applicativa-elemento complex type.
  31.  *
  32.  * <p>The following schema fragment specifies the expected content contained within this class.
  33.  *
  34.  * <pre>
  35.  * &lt;complexType name="correlazione-applicativa-elemento"&gt;
  36.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  37.  *      &lt;attribute name="identificazione" type="{http://www.openspcoop2.org/core/config}CorrelazioneApplicativaRichiestaIdentificazione" use="optional" default="contentBased"/&gt;
  38.  *      &lt;attribute name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  39.  *      &lt;attribute name="identificazione-fallita" type="{http://www.openspcoop2.org/core/config}CorrelazioneApplicativaGestioneIdentificazioneFallita" use="optional" default="blocca"/&gt;
  40.  *      &lt;attribute name="riuso-identificativo" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  41.  * &lt;/complexType&gt;
  42.  * </pre>
  43.  *
  44.  * @version $Rev$, $Date$
  45.  *
  46.  * @author Poli Andrea (poli@link.it)
  47.  * @author $Author$
  48.  * */

  49. @XmlAccessorType(XmlAccessType.FIELD)
  50. @XmlType(name = "correlazione-applicativa-elemento")

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

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

  56.   public java.lang.String getNome() {
  57.     return this.nome;
  58.   }

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

  62.   public void setIdentificazioneRawEnumValue(String value) {
  63.     this.identificazione = (CorrelazioneApplicativaRichiestaIdentificazione) CorrelazioneApplicativaRichiestaIdentificazione.toEnumConstantFromString(value);
  64.   }

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

  72.   public org.openspcoop2.core.config.constants.CorrelazioneApplicativaRichiestaIdentificazione getIdentificazione() {
  73.     return this.identificazione;
  74.   }

  75.   public void setIdentificazione(org.openspcoop2.core.config.constants.CorrelazioneApplicativaRichiestaIdentificazione identificazione) {
  76.     this.identificazione = identificazione;
  77.   }

  78.   public java.lang.String getPattern() {
  79.     return this.pattern;
  80.   }

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

  84.   public void setIdentificazioneFallitaRawEnumValue(String value) {
  85.     this.identificazioneFallita = (CorrelazioneApplicativaGestioneIdentificazioneFallita) CorrelazioneApplicativaGestioneIdentificazioneFallita.toEnumConstantFromString(value);
  86.   }

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

  94.   public org.openspcoop2.core.config.constants.CorrelazioneApplicativaGestioneIdentificazioneFallita getIdentificazioneFallita() {
  95.     return this.identificazioneFallita;
  96.   }

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

  100.   public void setRiusoIdentificativoRawEnumValue(String value) {
  101.     this.riusoIdentificativo = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  102.   }

  103.   public String getRiusoIdentificativoRawEnumValue() {
  104.     if(this.riusoIdentificativo == null){
  105.         return null;
  106.     }else{
  107.         return this.riusoIdentificativo.toString();
  108.     }
  109.   }

  110.   public org.openspcoop2.core.config.constants.StatoFunzionalita getRiusoIdentificativo() {
  111.     return this.riusoIdentificativo;
  112.   }

  113.   public void setRiusoIdentificativo(org.openspcoop2.core.config.constants.StatoFunzionalita riusoIdentificativo) {
  114.     this.riusoIdentificativo = riusoIdentificativo;
  115.   }

  116.   private static final long serialVersionUID = 1L;



  117.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  118.   @XmlAttribute(name="nome",required=false)
  119.   protected java.lang.String nome;

  120.   @javax.xml.bind.annotation.XmlTransient
  121.   protected java.lang.String identificazioneRawEnumValue;

  122.   @XmlAttribute(name="identificazione",required=false)
  123.   protected CorrelazioneApplicativaRichiestaIdentificazione identificazione = (CorrelazioneApplicativaRichiestaIdentificazione) CorrelazioneApplicativaRichiestaIdentificazione.toEnumConstantFromString("contentBased");

  124.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  125.   @XmlAttribute(name="pattern",required=false)
  126.   protected java.lang.String pattern;

  127.   @javax.xml.bind.annotation.XmlTransient
  128.   protected java.lang.String identificazioneFallitaRawEnumValue;

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

  131.   @javax.xml.bind.annotation.XmlTransient
  132.   protected java.lang.String riusoIdentificativoRawEnumValue;

  133.   @XmlAttribute(name="riuso-identificativo",required=false)
  134.   protected StatoFunzionalita riusoIdentificativo = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  135. }