AccordoServizioParteSpecifica.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 it.gov.spcoop.sica.manifest;

  21. import it.gov.spcoop.sica.manifest.constants.TipoAdesione;
  22. import javax.xml.bind.annotation.XmlAccessType;
  23. import javax.xml.bind.annotation.XmlAccessorType;
  24. import javax.xml.bind.annotation.XmlAttribute;
  25. import javax.xml.bind.annotation.XmlElement;
  26. import javax.xml.bind.annotation.XmlRootElement;
  27. import javax.xml.bind.annotation.XmlType;
  28. import java.io.Serializable;


  29. /** <p>Java class for accordoServizioParteSpecifica complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="accordoServizioParteSpecifica"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="riferimentoParteComune" type="{http://spcoop.gov.it/sica/manifest}anyURI" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="specificaPortiAccesso" type="{http://spcoop.gov.it/sica/manifest}SpecificaPortiAccesso" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="specificaSicurezza" type="{http://spcoop.gov.it/sica/manifest}SpecificaSicurezza" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="specificaLivelliServizio" type="{http://spcoop.gov.it/sica/manifest}SpecificaLivelliServizio" minOccurs="0" maxOccurs="1"/&gt;
  40.  *      &lt;/sequence&gt;
  41.  *      &lt;attribute name="adesione" type="{http://spcoop.gov.it/sica/manifest}TipoAdesione" use="required"/&gt;
  42.  *      &lt;attribute name="erogatore" type="{http://spcoop.gov.it/sica/manifest}anyURI" use="optional"/&gt;
  43.  * &lt;/complexType&gt;
  44.  * </pre>
  45.  *
  46.  * @version $Rev$, $Date$
  47.  *
  48.  * @author Poli Andrea (poli@link.it)
  49.  * @author $Author$
  50.  * */

  51. @XmlAccessorType(XmlAccessType.FIELD)
  52. @XmlType(name = "accordoServizioParteSpecifica",
  53.   propOrder = {
  54.     "riferimentoParteComune",
  55.     "specificaPortiAccesso",
  56.     "specificaSicurezza",
  57.     "specificaLivelliServizio"
  58.   }
  59. )

  60. @XmlRootElement(name = "accordoServizioParteSpecifica")

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

  65.   public java.net.URI getRiferimentoParteComune() {
  66.     return this.riferimentoParteComune;
  67.   }

  68.   public void setRiferimentoParteComune(java.net.URI riferimentoParteComune) {
  69.     this.riferimentoParteComune = riferimentoParteComune;
  70.   }

  71.   public SpecificaPortiAccesso getSpecificaPortiAccesso() {
  72.     return this.specificaPortiAccesso;
  73.   }

  74.   public void setSpecificaPortiAccesso(SpecificaPortiAccesso specificaPortiAccesso) {
  75.     this.specificaPortiAccesso = specificaPortiAccesso;
  76.   }

  77.   public SpecificaSicurezza getSpecificaSicurezza() {
  78.     return this.specificaSicurezza;
  79.   }

  80.   public void setSpecificaSicurezza(SpecificaSicurezza specificaSicurezza) {
  81.     this.specificaSicurezza = specificaSicurezza;
  82.   }

  83.   public SpecificaLivelliServizio getSpecificaLivelliServizio() {
  84.     return this.specificaLivelliServizio;
  85.   }

  86.   public void setSpecificaLivelliServizio(SpecificaLivelliServizio specificaLivelliServizio) {
  87.     this.specificaLivelliServizio = specificaLivelliServizio;
  88.   }

  89.   public void setAdesioneRawEnumValue(String value) {
  90.     this.adesione = (TipoAdesione) TipoAdesione.toEnumConstantFromString(value);
  91.   }

  92.   public String getAdesioneRawEnumValue() {
  93.     if(this.adesione == null){
  94.         return null;
  95.     }else{
  96.         return this.adesione.toString();
  97.     }
  98.   }

  99.   public it.gov.spcoop.sica.manifest.constants.TipoAdesione getAdesione() {
  100.     return this.adesione;
  101.   }

  102.   public void setAdesione(it.gov.spcoop.sica.manifest.constants.TipoAdesione adesione) {
  103.     this.adesione = adesione;
  104.   }

  105.   public java.net.URI getErogatore() {
  106.     return this.erogatore;
  107.   }

  108.   public void setErogatore(java.net.URI erogatore) {
  109.     this.erogatore = erogatore;
  110.   }

  111.   private static final long serialVersionUID = 1L;



  112.   @javax.xml.bind.annotation.XmlSchemaType(name="anyURI")
  113.   @XmlElement(name="riferimentoParteComune",required=true,nillable=false)
  114.   protected java.net.URI riferimentoParteComune;

  115.   @XmlElement(name="specificaPortiAccesso",required=true,nillable=false)
  116.   protected SpecificaPortiAccesso specificaPortiAccesso;

  117.   @XmlElement(name="specificaSicurezza",required=false,nillable=false)
  118.   protected SpecificaSicurezza specificaSicurezza;

  119.   @XmlElement(name="specificaLivelliServizio",required=false,nillable=false)
  120.   protected SpecificaLivelliServizio specificaLivelliServizio;

  121.   @javax.xml.bind.annotation.XmlTransient
  122.   protected java.lang.String adesioneRawEnumValue;

  123.   @XmlAttribute(name="adesione",required=true)
  124.   protected TipoAdesione adesione;

  125.   @javax.xml.bind.annotation.XmlSchemaType(name="anyURI")
  126.   @XmlAttribute(name="erogatore",required=false)
  127.   protected java.net.URI erogatore;

  128. }