AttivazionePolicyFiltro.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.controllo_traffico;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import org.openspcoop2.core.controllo_traffico.constants.RuoloPolicy;
  27. import java.io.Serializable;


  28. /** <p>Java class for attivazione-policy-filtro complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="attivazione-policy-filtro"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  36.  *          &lt;element name="protocollo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="ruolo-porta" type="{http://www.openspcoop2.org/core/controllo_traffico}ruolo-policy" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="nome-porta" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="tipo-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="nome-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="ruolo-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="servizio-applicativo-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  43.  *          &lt;element name="tipo-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  44.  *          &lt;element name="nome-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  45.  *          &lt;element name="ruolo-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  46.  *          &lt;element name="servizio-applicativo-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  47.  *          &lt;element name="tag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  48.  *          &lt;element name="tipo-servizio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  49.  *          &lt;element name="nome-servizio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  50.  *          &lt;element name="versione-servizio" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0" maxOccurs="1"/&gt;
  51.  *          &lt;element name="azione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  52.  *          &lt;element name="token-claims" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  53.  *          &lt;element name="informazione-applicativa-enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  54.  *          &lt;element name="informazione-applicativa-tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  55.  *          &lt;element name="informazione-applicativa-nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  56.  *          &lt;element name="informazione-applicativa-valore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  57.  *      &lt;/sequence&gt;
  58.  * &lt;/complexType&gt;
  59.  * </pre>
  60.  *
  61.  * @version $Rev$, $Date$
  62.  *
  63.  * @author Poli Andrea (poli@link.it)
  64.  * @author $Author$
  65.  * */

  66. @XmlAccessorType(XmlAccessType.FIELD)
  67. @XmlType(name = "attivazione-policy-filtro",
  68.   propOrder = {
  69.     "enabled",
  70.     "protocollo",
  71.     "ruoloPorta",
  72.     "nomePorta",
  73.     "tipoFruitore",
  74.     "nomeFruitore",
  75.     "ruoloFruitore",
  76.     "servizioApplicativoFruitore",
  77.     "tipoErogatore",
  78.     "nomeErogatore",
  79.     "ruoloErogatore",
  80.     "servizioApplicativoErogatore",
  81.     "tag",
  82.     "tipoServizio",
  83.     "nomeServizio",
  84.     "versioneServizio",
  85.     "azione",
  86.     "tokenClaims",
  87.     "informazioneApplicativaEnabled",
  88.     "informazioneApplicativaTipo",
  89.     "informazioneApplicativaNome",
  90.     "informazioneApplicativaValore"
  91.   }
  92. )

  93. @XmlRootElement(name = "attivazione-policy-filtro")

  94. public class AttivazionePolicyFiltro extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  95.   public AttivazionePolicyFiltro() {
  96.     super();
  97.   }

  98.   public boolean isEnabled() {
  99.     return this.enabled;
  100.   }

  101.   public boolean getEnabled() {
  102.     return this.enabled;
  103.   }

  104.   public void setEnabled(boolean enabled) {
  105.     this.enabled = enabled;
  106.   }

  107.   public java.lang.String getProtocollo() {
  108.     return this.protocollo;
  109.   }

  110.   public void setProtocollo(java.lang.String protocollo) {
  111.     this.protocollo = protocollo;
  112.   }

  113.   public void setRuoloPortaRawEnumValue(String value) {
  114.     this.ruoloPorta = (RuoloPolicy) RuoloPolicy.toEnumConstantFromString(value);
  115.   }

  116.   public String getRuoloPortaRawEnumValue() {
  117.     if(this.ruoloPorta == null){
  118.         return null;
  119.     }else{
  120.         return this.ruoloPorta.toString();
  121.     }
  122.   }

  123.   public org.openspcoop2.core.controllo_traffico.constants.RuoloPolicy getRuoloPorta() {
  124.     return this.ruoloPorta;
  125.   }

  126.   public void setRuoloPorta(org.openspcoop2.core.controllo_traffico.constants.RuoloPolicy ruoloPorta) {
  127.     this.ruoloPorta = ruoloPorta;
  128.   }

  129.   public java.lang.String getNomePorta() {
  130.     return this.nomePorta;
  131.   }

  132.   public void setNomePorta(java.lang.String nomePorta) {
  133.     this.nomePorta = nomePorta;
  134.   }

  135.   public java.lang.String getTipoFruitore() {
  136.     return this.tipoFruitore;
  137.   }

  138.   public void setTipoFruitore(java.lang.String tipoFruitore) {
  139.     this.tipoFruitore = tipoFruitore;
  140.   }

  141.   public java.lang.String getNomeFruitore() {
  142.     return this.nomeFruitore;
  143.   }

  144.   public void setNomeFruitore(java.lang.String nomeFruitore) {
  145.     this.nomeFruitore = nomeFruitore;
  146.   }

  147.   public java.lang.String getRuoloFruitore() {
  148.     return this.ruoloFruitore;
  149.   }

  150.   public void setRuoloFruitore(java.lang.String ruoloFruitore) {
  151.     this.ruoloFruitore = ruoloFruitore;
  152.   }

  153.   public java.lang.String getServizioApplicativoFruitore() {
  154.     return this.servizioApplicativoFruitore;
  155.   }

  156.   public void setServizioApplicativoFruitore(java.lang.String servizioApplicativoFruitore) {
  157.     this.servizioApplicativoFruitore = servizioApplicativoFruitore;
  158.   }

  159.   public java.lang.String getTipoErogatore() {
  160.     return this.tipoErogatore;
  161.   }

  162.   public void setTipoErogatore(java.lang.String tipoErogatore) {
  163.     this.tipoErogatore = tipoErogatore;
  164.   }

  165.   public java.lang.String getNomeErogatore() {
  166.     return this.nomeErogatore;
  167.   }

  168.   public void setNomeErogatore(java.lang.String nomeErogatore) {
  169.     this.nomeErogatore = nomeErogatore;
  170.   }

  171.   public java.lang.String getRuoloErogatore() {
  172.     return this.ruoloErogatore;
  173.   }

  174.   public void setRuoloErogatore(java.lang.String ruoloErogatore) {
  175.     this.ruoloErogatore = ruoloErogatore;
  176.   }

  177.   public java.lang.String getServizioApplicativoErogatore() {
  178.     return this.servizioApplicativoErogatore;
  179.   }

  180.   public void setServizioApplicativoErogatore(java.lang.String servizioApplicativoErogatore) {
  181.     this.servizioApplicativoErogatore = servizioApplicativoErogatore;
  182.   }

  183.   public java.lang.String getTag() {
  184.     return this.tag;
  185.   }

  186.   public void setTag(java.lang.String tag) {
  187.     this.tag = tag;
  188.   }

  189.   public java.lang.String getTipoServizio() {
  190.     return this.tipoServizio;
  191.   }

  192.   public void setTipoServizio(java.lang.String tipoServizio) {
  193.     this.tipoServizio = tipoServizio;
  194.   }

  195.   public java.lang.String getNomeServizio() {
  196.     return this.nomeServizio;
  197.   }

  198.   public void setNomeServizio(java.lang.String nomeServizio) {
  199.     this.nomeServizio = nomeServizio;
  200.   }

  201.   public java.lang.Integer getVersioneServizio() {
  202.     return this.versioneServizio;
  203.   }

  204.   public void setVersioneServizio(java.lang.Integer versioneServizio) {
  205.     this.versioneServizio = versioneServizio;
  206.   }

  207.   public java.lang.String getAzione() {
  208.     return this.azione;
  209.   }

  210.   public void setAzione(java.lang.String azione) {
  211.     this.azione = azione;
  212.   }

  213.   public java.lang.String getTokenClaims() {
  214.     return this.tokenClaims;
  215.   }

  216.   public void setTokenClaims(java.lang.String tokenClaims) {
  217.     this.tokenClaims = tokenClaims;
  218.   }

  219.   public boolean isInformazioneApplicativaEnabled() {
  220.     return this.informazioneApplicativaEnabled;
  221.   }

  222.   public boolean getInformazioneApplicativaEnabled() {
  223.     return this.informazioneApplicativaEnabled;
  224.   }

  225.   public void setInformazioneApplicativaEnabled(boolean informazioneApplicativaEnabled) {
  226.     this.informazioneApplicativaEnabled = informazioneApplicativaEnabled;
  227.   }

  228.   public java.lang.String getInformazioneApplicativaTipo() {
  229.     return this.informazioneApplicativaTipo;
  230.   }

  231.   public void setInformazioneApplicativaTipo(java.lang.String informazioneApplicativaTipo) {
  232.     this.informazioneApplicativaTipo = informazioneApplicativaTipo;
  233.   }

  234.   public java.lang.String getInformazioneApplicativaNome() {
  235.     return this.informazioneApplicativaNome;
  236.   }

  237.   public void setInformazioneApplicativaNome(java.lang.String informazioneApplicativaNome) {
  238.     this.informazioneApplicativaNome = informazioneApplicativaNome;
  239.   }

  240.   public java.lang.String getInformazioneApplicativaValore() {
  241.     return this.informazioneApplicativaValore;
  242.   }

  243.   public void setInformazioneApplicativaValore(java.lang.String informazioneApplicativaValore) {
  244.     this.informazioneApplicativaValore = informazioneApplicativaValore;
  245.   }

  246.   private static final long serialVersionUID = 1L;



  247.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  248.   @XmlElement(name="enabled",required=true,nillable=false,defaultValue="false")
  249.   protected boolean enabled = false;

  250.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  251.   @XmlElement(name="protocollo",required=false,nillable=false)
  252.   protected java.lang.String protocollo;

  253.   @javax.xml.bind.annotation.XmlTransient
  254.   protected java.lang.String ruoloPortaRawEnumValue;

  255.   @XmlElement(name="ruolo-porta",required=false,nillable=false)
  256.   protected RuoloPolicy ruoloPorta;

  257.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  258.   @XmlElement(name="nome-porta",required=false,nillable=false)
  259.   protected java.lang.String nomePorta;

  260.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  261.   @XmlElement(name="tipo-fruitore",required=false,nillable=false)
  262.   protected java.lang.String tipoFruitore;

  263.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  264.   @XmlElement(name="nome-fruitore",required=false,nillable=false)
  265.   protected java.lang.String nomeFruitore;

  266.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  267.   @XmlElement(name="ruolo-fruitore",required=false,nillable=false)
  268.   protected java.lang.String ruoloFruitore;

  269.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  270.   @XmlElement(name="servizio-applicativo-fruitore",required=false,nillable=false)
  271.   protected java.lang.String servizioApplicativoFruitore;

  272.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  273.   @XmlElement(name="tipo-erogatore",required=false,nillable=false)
  274.   protected java.lang.String tipoErogatore;

  275.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  276.   @XmlElement(name="nome-erogatore",required=false,nillable=false)
  277.   protected java.lang.String nomeErogatore;

  278.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  279.   @XmlElement(name="ruolo-erogatore",required=false,nillable=false)
  280.   protected java.lang.String ruoloErogatore;

  281.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  282.   @XmlElement(name="servizio-applicativo-erogatore",required=false,nillable=false)
  283.   protected java.lang.String servizioApplicativoErogatore;

  284.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  285.   @XmlElement(name="tag",required=false,nillable=false)
  286.   protected java.lang.String tag;

  287.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  288.   @XmlElement(name="tipo-servizio",required=false,nillable=false)
  289.   protected java.lang.String tipoServizio;

  290.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  291.   @XmlElement(name="nome-servizio",required=false,nillable=false)
  292.   protected java.lang.String nomeServizio;

  293.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  294.   @XmlElement(name="versione-servizio",required=false,nillable=false)
  295.   protected java.lang.Integer versioneServizio;

  296.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  297.   @XmlElement(name="azione",required=false,nillable=false)
  298.   protected java.lang.String azione;

  299.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  300.   @XmlElement(name="token-claims",required=false,nillable=false)
  301.   protected java.lang.String tokenClaims;

  302.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  303.   @XmlElement(name="informazione-applicativa-enabled",required=true,nillable=false,defaultValue="false")
  304.   protected boolean informazioneApplicativaEnabled = false;

  305.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  306.   @XmlElement(name="informazione-applicativa-tipo",required=false,nillable=false)
  307.   protected java.lang.String informazioneApplicativaTipo;

  308.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  309.   @XmlElement(name="informazione-applicativa-nome",required=false,nillable=false)
  310.   protected java.lang.String informazioneApplicativaNome;

  311.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  312.   @XmlElement(name="informazione-applicativa-valore",required=false,nillable=false)
  313.   protected java.lang.String informazioneApplicativaValore;

  314. }