DatiServizio.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.protocol.abstraction;

  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.protocol.abstraction.constants.TipologiaServizio;
  27. import java.io.Serializable;


  28. /** <p>Java class for DatiServizio complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="DatiServizio"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="tipologia-servizio" type="{http://www.openspcoop2.org/protocol/abstraction}TipologiaServizio" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="fruitori" type="{http://www.openspcoop2.org/protocol/abstraction}Fruitori" minOccurs="0" maxOccurs="1"/&gt;
  40.  *      &lt;/sequence&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 = "DatiServizio",
  51.   propOrder = {
  52.     "endpoint",
  53.     "tipo",
  54.     "nome",
  55.     "tipologiaServizio",
  56.     "fruitori"
  57.   }
  58. )

  59. @XmlRootElement(name = "DatiServizio")

  60. public class DatiServizio extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  61.   public DatiServizio() {
  62.     super();
  63.   }

  64.   public java.lang.String getEndpoint() {
  65.     return this.endpoint;
  66.   }

  67.   public void setEndpoint(java.lang.String endpoint) {
  68.     this.endpoint = endpoint;
  69.   }

  70.   public java.lang.String getTipo() {
  71.     return this.tipo;
  72.   }

  73.   public void setTipo(java.lang.String tipo) {
  74.     this.tipo = tipo;
  75.   }

  76.   public java.lang.String getNome() {
  77.     return this.nome;
  78.   }

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

  82.   public void setTipologiaServizioRawEnumValue(String value) {
  83.     this.tipologiaServizio = (TipologiaServizio) TipologiaServizio.toEnumConstantFromString(value);
  84.   }

  85.   public String getTipologiaServizioRawEnumValue() {
  86.     if(this.tipologiaServizio == null){
  87.         return null;
  88.     }else{
  89.         return this.tipologiaServizio.toString();
  90.     }
  91.   }

  92.   public org.openspcoop2.protocol.abstraction.constants.TipologiaServizio getTipologiaServizio() {
  93.     return this.tipologiaServizio;
  94.   }

  95.   public void setTipologiaServizio(org.openspcoop2.protocol.abstraction.constants.TipologiaServizio tipologiaServizio) {
  96.     this.tipologiaServizio = tipologiaServizio;
  97.   }

  98.   public Fruitori getFruitori() {
  99.     return this.fruitori;
  100.   }

  101.   public void setFruitori(Fruitori fruitori) {
  102.     this.fruitori = fruitori;
  103.   }

  104.   private static final long serialVersionUID = 1L;



  105.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  106.   @XmlElement(name="endpoint",required=false,nillable=false)
  107.   protected java.lang.String endpoint;

  108.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  109.   @XmlElement(name="tipo",required=false,nillable=false)
  110.   protected java.lang.String tipo;

  111.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  112.   @XmlElement(name="nome",required=false,nillable=false)
  113.   protected java.lang.String nome;

  114.   @javax.xml.bind.annotation.XmlTransient
  115.   protected java.lang.String tipologiaServizioRawEnumValue;

  116.   @XmlElement(name="tipologia-servizio",required=false,nillable=false)
  117.   protected TipologiaServizio tipologiaServizio;

  118.   @XmlElement(name="fruitori",required=false,nillable=false)
  119.   protected Fruitori fruitori;

  120. }