PortaApplicativaServizioApplicativoConnettore.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.XmlElement;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlType;
  27. import org.openspcoop2.core.config.constants.StatoFunzionalita;
  28. import java.io.Serializable;
  29. import java.util.ArrayList;
  30. import java.util.List;


  31. /** <p>Java class for porta-applicativa-servizio-applicativo-connettore complex type.
  32.  *
  33.  * <p>The following schema fragment specifies the expected content contained within this class.
  34.  *
  35.  * <pre>
  36.  * &lt;complexType name="porta-applicativa-servizio-applicativo-connettore"&gt;
  37.  *      &lt;sequence&gt;
  38.  *          &lt;element name="filtro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="unbounded"/&gt;
  39.  *          &lt;element name="proprieta" type="{http://www.openspcoop2.org/core/config}proprieta" minOccurs="0" maxOccurs="unbounded"/&gt;
  40.  *          &lt;element name="proprieta-oggetto" type="{http://www.openspcoop2.org/core/config}proprieta-oggetto" minOccurs="0" maxOccurs="1"/&gt;
  41.  *      &lt;/sequence&gt;
  42.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  43.  *      &lt;attribute name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  44.  *      &lt;attribute name="notifica" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional"/&gt;
  45.  *      &lt;attribute name="stato" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="abilitato"/&gt;
  46.  *      &lt;attribute name="scheduling" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="abilitato"/&gt;
  47.  *      &lt;attribute name="coda" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  48.  *      &lt;attribute name="priorita" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  49.  *      &lt;attribute name="priorita-max" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  50.  * &lt;/complexType&gt;
  51.  * </pre>
  52.  *
  53.  * @version $Rev$, $Date$
  54.  *
  55.  * @author Poli Andrea (poli@link.it)
  56.  * @author $Author$
  57.  * */

  58. @XmlAccessorType(XmlAccessType.FIELD)
  59. @XmlType(name = "porta-applicativa-servizio-applicativo-connettore",
  60.   propOrder = {
  61.     "filtro",
  62.     "proprieta",
  63.     "proprietaOggetto"
  64.   }
  65. )

  66. @XmlRootElement(name = "porta-applicativa-servizio-applicativo-connettore")

  67. public class PortaApplicativaServizioApplicativoConnettore extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  68.   public PortaApplicativaServizioApplicativoConnettore() {
  69.     super();
  70.   }

  71.   public void addFiltro(java.lang.String filtro) {
  72.     this.filtro.add(filtro);
  73.   }

  74.   public java.lang.String getFiltro(int index) {
  75.     return this.filtro.get( index );
  76.   }

  77.   public java.lang.String removeFiltro(int index) {
  78.     return this.filtro.remove( index );
  79.   }

  80.   public List<java.lang.String> getFiltroList() {
  81.     return this.filtro;
  82.   }

  83.   public void setFiltroList(List<java.lang.String> filtro) {
  84.     this.filtro=filtro;
  85.   }

  86.   public int sizeFiltroList() {
  87.     return this.filtro.size();
  88.   }

  89.   public void addProprieta(Proprieta proprieta) {
  90.     this.proprieta.add(proprieta);
  91.   }

  92.   public Proprieta getProprieta(int index) {
  93.     return this.proprieta.get( index );
  94.   }

  95.   public Proprieta removeProprieta(int index) {
  96.     return this.proprieta.remove( index );
  97.   }

  98.   public List<Proprieta> getProprietaList() {
  99.     return this.proprieta;
  100.   }

  101.   public void setProprietaList(List<Proprieta> proprieta) {
  102.     this.proprieta=proprieta;
  103.   }

  104.   public int sizeProprietaList() {
  105.     return this.proprieta.size();
  106.   }

  107.   public ProprietaOggetto getProprietaOggetto() {
  108.     return this.proprietaOggetto;
  109.   }

  110.   public void setProprietaOggetto(ProprietaOggetto proprietaOggetto) {
  111.     this.proprietaOggetto = proprietaOggetto;
  112.   }

  113.   public java.lang.String getNome() {
  114.     return this.nome;
  115.   }

  116.   public void setNome(java.lang.String nome) {
  117.     this.nome = nome;
  118.   }

  119.   public java.lang.String getDescrizione() {
  120.     return this.descrizione;
  121.   }

  122.   public void setDescrizione(java.lang.String descrizione) {
  123.     this.descrizione = descrizione;
  124.   }

  125.   public boolean isNotifica() {
  126.     return this.notifica;
  127.   }

  128.   public boolean getNotifica() {
  129.     return this.notifica;
  130.   }

  131.   public void setNotifica(boolean notifica) {
  132.     this.notifica = notifica;
  133.   }

  134.   public void setStatoRawEnumValue(String value) {
  135.     this.stato = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  136.   }

  137.   public String getStatoRawEnumValue() {
  138.     if(this.stato == null){
  139.         return null;
  140.     }else{
  141.         return this.stato.toString();
  142.     }
  143.   }

  144.   public org.openspcoop2.core.config.constants.StatoFunzionalita getStato() {
  145.     return this.stato;
  146.   }

  147.   public void setStato(org.openspcoop2.core.config.constants.StatoFunzionalita stato) {
  148.     this.stato = stato;
  149.   }

  150.   public void setSchedulingRawEnumValue(String value) {
  151.     this.scheduling = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  152.   }

  153.   public String getSchedulingRawEnumValue() {
  154.     if(this.scheduling == null){
  155.         return null;
  156.     }else{
  157.         return this.scheduling.toString();
  158.     }
  159.   }

  160.   public org.openspcoop2.core.config.constants.StatoFunzionalita getScheduling() {
  161.     return this.scheduling;
  162.   }

  163.   public void setScheduling(org.openspcoop2.core.config.constants.StatoFunzionalita scheduling) {
  164.     this.scheduling = scheduling;
  165.   }

  166.   public java.lang.String getCoda() {
  167.     return this.coda;
  168.   }

  169.   public void setCoda(java.lang.String coda) {
  170.     this.coda = coda;
  171.   }

  172.   public java.lang.String getPriorita() {
  173.     return this.priorita;
  174.   }

  175.   public void setPriorita(java.lang.String priorita) {
  176.     this.priorita = priorita;
  177.   }

  178.   public boolean isPrioritaMax() {
  179.     return this.prioritaMax;
  180.   }

  181.   public boolean getPrioritaMax() {
  182.     return this.prioritaMax;
  183.   }

  184.   public void setPrioritaMax(boolean prioritaMax) {
  185.     this.prioritaMax = prioritaMax;
  186.   }

  187.   private static final long serialVersionUID = 1L;



  188.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  189.   @XmlElement(name="filtro",required=true,nillable=false)
  190.   private List<java.lang.String> filtro = new ArrayList<>();

  191.   /**
  192.    * Use method getFiltroList
  193.    * @return List&lt;java.lang.String&gt;
  194.   */
  195.   public List<java.lang.String> getFiltro() {
  196.     return this.getFiltroList();
  197.   }

  198.   /**
  199.    * Use method setFiltroList
  200.    * @param filtro List&lt;java.lang.String&gt;
  201.   */
  202.   public void setFiltro(List<java.lang.String> filtro) {
  203.     this.setFiltroList(filtro);
  204.   }

  205.   /**
  206.    * Use method sizeFiltroList
  207.    * @return lunghezza della lista
  208.   */
  209.   public int sizeFiltro() {
  210.     return this.sizeFiltroList();
  211.   }

  212.   @XmlElement(name="proprieta",required=true,nillable=false)
  213.   private List<Proprieta> proprieta = new ArrayList<>();

  214.   /**
  215.    * Use method getProprietaList
  216.    * @return List&lt;Proprieta&gt;
  217.   */
  218.   public List<Proprieta> getProprieta() {
  219.     return this.getProprietaList();
  220.   }

  221.   /**
  222.    * Use method setProprietaList
  223.    * @param proprieta List&lt;Proprieta&gt;
  224.   */
  225.   public void setProprieta(List<Proprieta> proprieta) {
  226.     this.setProprietaList(proprieta);
  227.   }

  228.   /**
  229.    * Use method sizeProprietaList
  230.    * @return lunghezza della lista
  231.   */
  232.   public int sizeProprieta() {
  233.     return this.sizeProprietaList();
  234.   }

  235.   @XmlElement(name="proprieta-oggetto",required=false,nillable=false)
  236.   protected ProprietaOggetto proprietaOggetto;

  237.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  238.   @XmlAttribute(name="nome",required=true)
  239.   protected java.lang.String nome;

  240.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  241.   @XmlAttribute(name="descrizione",required=false)
  242.   protected java.lang.String descrizione;

  243.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  244.   @XmlAttribute(name="notifica",required=false)
  245.   protected boolean notifica;

  246.   @javax.xml.bind.annotation.XmlTransient
  247.   protected java.lang.String statoRawEnumValue;

  248.   @XmlAttribute(name="stato",required=false)
  249.   protected StatoFunzionalita stato = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("abilitato");

  250.   @javax.xml.bind.annotation.XmlTransient
  251.   protected java.lang.String schedulingRawEnumValue;

  252.   @XmlAttribute(name="scheduling",required=false)
  253.   protected StatoFunzionalita scheduling = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("abilitato");

  254.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  255.   @XmlAttribute(name="coda",required=false)
  256.   protected java.lang.String coda;

  257.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  258.   @XmlAttribute(name="priorita",required=false)
  259.   protected java.lang.String priorita;

  260.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  261.   @XmlAttribute(name="priorita-max",required=false)
  262.   protected boolean prioritaMax = false;

  263. }