Fruitore.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.registry;

  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 java.io.Serializable;
  28. import java.util.ArrayList;
  29. import java.util.List;


  30. /** <p>Java class for fruitore complex type.
  31.  *
  32.  * <p>The following schema fragment specifies the expected content contained within this class.
  33.  *
  34.  * <pre>
  35.  * &lt;complexType name="fruitore"&gt;
  36.  *      &lt;sequence&gt;
  37.  *          &lt;element name="servizio-applicativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="unbounded"/&gt;
  38.  *          &lt;element name="connettore" type="{http://www.openspcoop2.org/core/registry}connettore" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="configurazione-azione" type="{http://www.openspcoop2.org/core/registry}configurazione-servizio-azione" minOccurs="0" maxOccurs="unbounded"/&gt;
  40.  *          &lt;element name="protocol-property" type="{http://www.openspcoop2.org/core/registry}protocol-property" minOccurs="0" maxOccurs="unbounded"/&gt;
  41.  *          &lt;element name="proprieta-oggetto" type="{http://www.openspcoop2.org/core/registry}proprieta-oggetto" minOccurs="0" maxOccurs="1"/&gt;
  42.  *      &lt;/sequence&gt;
  43.  *      &lt;attribute name="stato-package" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  44.  *      &lt;attribute name="byte-wsdl-implementativo-erogatore" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  45.  *      &lt;attribute name="byte-wsdl-implementativo-fruitore" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  46.  *      &lt;attribute name="id-soggetto" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" use="optional"/&gt;
  47.  *      &lt;attribute name="id-servizio" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" use="optional"/&gt;
  48.  *      &lt;attribute name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  49.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  50.  *      &lt;attribute name="wsdl-implementativo-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  51.  *      &lt;attribute name="wsdl-implementativo-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  52.  *      &lt;attribute name="ora-registrazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" use="optional"/&gt;
  53.  *      &lt;attribute name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  54.  * &lt;/complexType&gt;
  55.  * </pre>
  56.  *
  57.  * @version $Rev$, $Date$
  58.  *
  59.  * @author Poli Andrea (poli@link.it)
  60.  * @author $Author$
  61.  * */

  62. @XmlAccessorType(XmlAccessType.FIELD)
  63. @XmlType(name = "fruitore",
  64.   propOrder = {
  65.     "servizioApplicativo",
  66.     "connettore",
  67.     "configurazioneAzione",
  68.     "protocolProperty",
  69.     "proprietaOggetto"
  70.   }
  71. )

  72. @XmlRootElement(name = "fruitore")

  73. public class Fruitore extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  74.   public Fruitore() {
  75.     super();
  76.   }

  77.   public void addServizioApplicativo(java.lang.String servizioApplicativo) {
  78.     this.servizioApplicativo.add(servizioApplicativo);
  79.   }

  80.   public java.lang.String getServizioApplicativo(int index) {
  81.     return this.servizioApplicativo.get( index );
  82.   }

  83.   public java.lang.String removeServizioApplicativo(int index) {
  84.     return this.servizioApplicativo.remove( index );
  85.   }

  86.   public List<java.lang.String> getServizioApplicativoList() {
  87.     return this.servizioApplicativo;
  88.   }

  89.   public void setServizioApplicativoList(List<java.lang.String> servizioApplicativo) {
  90.     this.servizioApplicativo=servizioApplicativo;
  91.   }

  92.   public int sizeServizioApplicativoList() {
  93.     return this.servizioApplicativo.size();
  94.   }

  95.   public Connettore getConnettore() {
  96.     return this.connettore;
  97.   }

  98.   public void setConnettore(Connettore connettore) {
  99.     this.connettore = connettore;
  100.   }

  101.   public void addConfigurazioneAzione(ConfigurazioneServizioAzione configurazioneAzione) {
  102.     this.configurazioneAzione.add(configurazioneAzione);
  103.   }

  104.   public ConfigurazioneServizioAzione getConfigurazioneAzione(int index) {
  105.     return this.configurazioneAzione.get( index );
  106.   }

  107.   public ConfigurazioneServizioAzione removeConfigurazioneAzione(int index) {
  108.     return this.configurazioneAzione.remove( index );
  109.   }

  110.   public List<ConfigurazioneServizioAzione> getConfigurazioneAzioneList() {
  111.     return this.configurazioneAzione;
  112.   }

  113.   public void setConfigurazioneAzioneList(List<ConfigurazioneServizioAzione> configurazioneAzione) {
  114.     this.configurazioneAzione=configurazioneAzione;
  115.   }

  116.   public int sizeConfigurazioneAzioneList() {
  117.     return this.configurazioneAzione.size();
  118.   }

  119.   public void addProtocolProperty(ProtocolProperty protocolProperty) {
  120.     this.protocolProperty.add(protocolProperty);
  121.   }

  122.   public ProtocolProperty getProtocolProperty(int index) {
  123.     return this.protocolProperty.get( index );
  124.   }

  125.   public ProtocolProperty removeProtocolProperty(int index) {
  126.     return this.protocolProperty.remove( index );
  127.   }

  128.   public List<ProtocolProperty> getProtocolPropertyList() {
  129.     return this.protocolProperty;
  130.   }

  131.   public void setProtocolPropertyList(List<ProtocolProperty> protocolProperty) {
  132.     this.protocolProperty=protocolProperty;
  133.   }

  134.   public int sizeProtocolPropertyList() {
  135.     return this.protocolProperty.size();
  136.   }

  137.   public ProprietaOggetto getProprietaOggetto() {
  138.     return this.proprietaOggetto;
  139.   }

  140.   public void setProprietaOggetto(ProprietaOggetto proprietaOggetto) {
  141.     this.proprietaOggetto = proprietaOggetto;
  142.   }

  143.   public java.lang.String getStatoPackage() {
  144.     return this.statoPackage;
  145.   }

  146.   public void setStatoPackage(java.lang.String statoPackage) {
  147.     this.statoPackage = statoPackage;
  148.   }

  149.   public byte[] getByteWsdlImplementativoErogatore() {
  150.     return this.byteWsdlImplementativoErogatore;
  151.   }

  152.   public void setByteWsdlImplementativoErogatore(byte[] byteWsdlImplementativoErogatore) {
  153.     this.byteWsdlImplementativoErogatore = byteWsdlImplementativoErogatore;
  154.   }

  155.   public byte[] getByteWsdlImplementativoFruitore() {
  156.     return this.byteWsdlImplementativoFruitore;
  157.   }

  158.   public void setByteWsdlImplementativoFruitore(byte[] byteWsdlImplementativoFruitore) {
  159.     this.byteWsdlImplementativoFruitore = byteWsdlImplementativoFruitore;
  160.   }

  161.   public java.lang.Long getIdSoggetto() {
  162.     return this.idSoggetto;
  163.   }

  164.   public void setIdSoggetto(java.lang.Long idSoggetto) {
  165.     this.idSoggetto = idSoggetto;
  166.   }

  167.   public java.lang.Long getIdServizio() {
  168.     return this.idServizio;
  169.   }

  170.   public void setIdServizio(java.lang.Long idServizio) {
  171.     this.idServizio = idServizio;
  172.   }

  173.   public java.lang.String getTipo() {
  174.     return this.tipo;
  175.   }

  176.   public void setTipo(java.lang.String tipo) {
  177.     this.tipo = tipo;
  178.   }

  179.   public java.lang.String getNome() {
  180.     return this.nome;
  181.   }

  182.   public void setNome(java.lang.String nome) {
  183.     this.nome = nome;
  184.   }

  185.   public java.lang.String getWsdlImplementativoErogatore() {
  186.     return this.wsdlImplementativoErogatore;
  187.   }

  188.   public void setWsdlImplementativoErogatore(java.lang.String wsdlImplementativoErogatore) {
  189.     this.wsdlImplementativoErogatore = wsdlImplementativoErogatore;
  190.   }

  191.   public java.lang.String getWsdlImplementativoFruitore() {
  192.     return this.wsdlImplementativoFruitore;
  193.   }

  194.   public void setWsdlImplementativoFruitore(java.lang.String wsdlImplementativoFruitore) {
  195.     this.wsdlImplementativoFruitore = wsdlImplementativoFruitore;
  196.   }

  197.   public java.util.Date getOraRegistrazione() {
  198.     return this.oraRegistrazione;
  199.   }

  200.   public void setOraRegistrazione(java.util.Date oraRegistrazione) {
  201.     this.oraRegistrazione = oraRegistrazione;
  202.   }

  203.   public java.lang.String getDescrizione() {
  204.     return this.descrizione;
  205.   }

  206.   public void setDescrizione(java.lang.String descrizione) {
  207.     this.descrizione = descrizione;
  208.   }

  209.   private static final long serialVersionUID = 1L;



  210.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  211.   @XmlElement(name="servizio-applicativo",required=true,nillable=false)
  212.   private List<java.lang.String> servizioApplicativo = new ArrayList<>();

  213.   /**
  214.    * Use method getServizioApplicativoList
  215.    * @return List&lt;java.lang.String&gt;
  216.   */
  217.   public List<java.lang.String> getServizioApplicativo() {
  218.     return this.getServizioApplicativoList();
  219.   }

  220.   /**
  221.    * Use method setServizioApplicativoList
  222.    * @param servizioApplicativo List&lt;java.lang.String&gt;
  223.   */
  224.   public void setServizioApplicativo(List<java.lang.String> servizioApplicativo) {
  225.     this.setServizioApplicativoList(servizioApplicativo);
  226.   }

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

  234.   @XmlElement(name="connettore",required=false,nillable=false)
  235.   protected Connettore connettore;

  236.   @XmlElement(name="configurazione-azione",required=true,nillable=false)
  237.   private List<ConfigurazioneServizioAzione> configurazioneAzione = new ArrayList<>();

  238.   /**
  239.    * Use method getConfigurazioneAzioneList
  240.    * @return List&lt;ConfigurazioneServizioAzione&gt;
  241.   */
  242.   public List<ConfigurazioneServizioAzione> getConfigurazioneAzione() {
  243.     return this.getConfigurazioneAzioneList();
  244.   }

  245.   /**
  246.    * Use method setConfigurazioneAzioneList
  247.    * @param configurazioneAzione List&lt;ConfigurazioneServizioAzione&gt;
  248.   */
  249.   public void setConfigurazioneAzione(List<ConfigurazioneServizioAzione> configurazioneAzione) {
  250.     this.setConfigurazioneAzioneList(configurazioneAzione);
  251.   }

  252.   /**
  253.    * Use method sizeConfigurazioneAzioneList
  254.    * @return lunghezza della lista
  255.   */
  256.   public int sizeConfigurazioneAzione() {
  257.     return this.sizeConfigurazioneAzioneList();
  258.   }

  259.   @XmlElement(name="protocol-property",required=true,nillable=false)
  260.   private List<ProtocolProperty> protocolProperty = new ArrayList<>();

  261.   /**
  262.    * Use method getProtocolPropertyList
  263.    * @return List&lt;ProtocolProperty&gt;
  264.   */
  265.   public List<ProtocolProperty> getProtocolProperty() {
  266.     return this.getProtocolPropertyList();
  267.   }

  268.   /**
  269.    * Use method setProtocolPropertyList
  270.    * @param protocolProperty List&lt;ProtocolProperty&gt;
  271.   */
  272.   public void setProtocolProperty(List<ProtocolProperty> protocolProperty) {
  273.     this.setProtocolPropertyList(protocolProperty);
  274.   }

  275.   /**
  276.    * Use method sizeProtocolPropertyList
  277.    * @return lunghezza della lista
  278.   */
  279.   public int sizeProtocolProperty() {
  280.     return this.sizeProtocolPropertyList();
  281.   }

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

  284.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  285.   @XmlAttribute(name="stato-package",required=false)
  286.   protected java.lang.String statoPackage;

  287.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  288.   @XmlAttribute(name="byte-wsdl-implementativo-erogatore",required=false)
  289.   protected byte[] byteWsdlImplementativoErogatore;

  290.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  291.   @XmlAttribute(name="byte-wsdl-implementativo-fruitore",required=false)
  292.   protected byte[] byteWsdlImplementativoFruitore;

  293.   @javax.xml.bind.annotation.XmlTransient
  294.   protected java.lang.Long idSoggetto;

  295.   @javax.xml.bind.annotation.XmlTransient
  296.   protected java.lang.Long idServizio;

  297.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  298.   @XmlAttribute(name="tipo",required=true)
  299.   protected java.lang.String tipo;

  300.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  301.   @XmlAttribute(name="nome",required=true)
  302.   protected java.lang.String nome;

  303.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  304.   @XmlAttribute(name="wsdl-implementativo-erogatore",required=false)
  305.   protected java.lang.String wsdlImplementativoErogatore;

  306.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  307.   @XmlAttribute(name="wsdl-implementativo-fruitore",required=false)
  308.   protected java.lang.String wsdlImplementativoFruitore;

  309.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  310.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  311.   @XmlAttribute(name="ora-registrazione",required=false)
  312.   protected java.util.Date oraRegistrazione;

  313.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  314.   @XmlAttribute(name="descrizione",required=false)
  315.   protected java.lang.String descrizione;

  316. }