AccordoServizio.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 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. /** <p>Java class for accordoServizio complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="accordoServizio"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="descrizione" type="{http://spcoop.gov.it/sica/manifest}string" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="specificaSemiformale" type="{http://spcoop.gov.it/sica/manifest}SpecificaSemiformale" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="allegati" type="{http://spcoop.gov.it/sica/manifest}ElencoAllegati" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="parteComune" type="{http://spcoop.gov.it/sica/manifest}accordoServizioParteComune" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="parteSpecifica" type="{http://spcoop.gov.it/sica/manifest}accordoServizioParteSpecifica" minOccurs="0" maxOccurs="1"/&gt;
  40.  *      &lt;/sequence&gt;
  41.  *      &lt;attribute name="nome" type="{http://spcoop.gov.it/sica/manifest}string" use="required"/&gt;
  42.  *      &lt;attribute name="versione" type="{http://spcoop.gov.it/sica/manifest}string" use="optional"/&gt;
  43.  *      &lt;attribute name="dataCreazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" use="required"/&gt;
  44.  *      &lt;attribute name="dataPubblicazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" use="optional"/&gt;
  45.  *      &lt;attribute name="firmato" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  46.  *      &lt;attribute name="riservato" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  47.  * &lt;/complexType&gt;
  48.  * </pre>
  49.  *
  50.  * @version $Rev$, $Date$
  51.  *
  52.  * @author Poli Andrea (poli@link.it)
  53.  * @author $Author$
  54.  * */

  55. @XmlAccessorType(XmlAccessType.FIELD)
  56. @XmlType(name = "accordoServizio",
  57.   propOrder = {
  58.     "descrizione",
  59.     "specificaSemiformale",
  60.     "allegati",
  61.     "parteComune",
  62.     "parteSpecifica"
  63.   }
  64. )

  65. @XmlRootElement(name = "accordoServizio")

  66. public class AccordoServizio extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  67.   public AccordoServizio() {
  68.     super();
  69.   }

  70.   public java.lang.String getDescrizione() {
  71.     return this.descrizione;
  72.   }

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

  76.   public SpecificaSemiformale getSpecificaSemiformale() {
  77.     return this.specificaSemiformale;
  78.   }

  79.   public void setSpecificaSemiformale(SpecificaSemiformale specificaSemiformale) {
  80.     this.specificaSemiformale = specificaSemiformale;
  81.   }

  82.   public ElencoAllegati getAllegati() {
  83.     return this.allegati;
  84.   }

  85.   public void setAllegati(ElencoAllegati allegati) {
  86.     this.allegati = allegati;
  87.   }

  88.   public AccordoServizioParteComune getParteComune() {
  89.     return this.parteComune;
  90.   }

  91.   public void setParteComune(AccordoServizioParteComune parteComune) {
  92.     this.parteComune = parteComune;
  93.   }

  94.   public AccordoServizioParteSpecifica getParteSpecifica() {
  95.     return this.parteSpecifica;
  96.   }

  97.   public void setParteSpecifica(AccordoServizioParteSpecifica parteSpecifica) {
  98.     this.parteSpecifica = parteSpecifica;
  99.   }

  100.   public java.lang.String getNome() {
  101.     return this.nome;
  102.   }

  103.   public void setNome(java.lang.String nome) {
  104.     this.nome = nome;
  105.   }

  106.   public java.lang.String getVersione() {
  107.     return this.versione;
  108.   }

  109.   public void setVersione(java.lang.String versione) {
  110.     this.versione = versione;
  111.   }

  112.   public java.util.Date getDataCreazione() {
  113.     return this.dataCreazione;
  114.   }

  115.   public void setDataCreazione(java.util.Date dataCreazione) {
  116.     this.dataCreazione = dataCreazione;
  117.   }

  118.   public java.util.Date getDataPubblicazione() {
  119.     return this.dataPubblicazione;
  120.   }

  121.   public void setDataPubblicazione(java.util.Date dataPubblicazione) {
  122.     this.dataPubblicazione = dataPubblicazione;
  123.   }

  124.   public boolean isFirmato() {
  125.     return this.firmato;
  126.   }

  127.   public boolean getFirmato() {
  128.     return this.firmato;
  129.   }

  130.   public void setFirmato(boolean firmato) {
  131.     this.firmato = firmato;
  132.   }

  133.   public boolean isRiservato() {
  134.     return this.riservato;
  135.   }

  136.   public boolean getRiservato() {
  137.     return this.riservato;
  138.   }

  139.   public void setRiservato(boolean riservato) {
  140.     this.riservato = riservato;
  141.   }

  142.   private static final long serialVersionUID = 1L;

  143.   private static it.gov.spcoop.sica.manifest.model.AccordoServizioModel modelStaticInstance = null;
  144.   private static synchronized void initModelStaticInstance(){
  145.       if(it.gov.spcoop.sica.manifest.AccordoServizio.modelStaticInstance==null){
  146.             it.gov.spcoop.sica.manifest.AccordoServizio.modelStaticInstance = new it.gov.spcoop.sica.manifest.model.AccordoServizioModel();
  147.       }
  148.   }
  149.   public static it.gov.spcoop.sica.manifest.model.AccordoServizioModel model(){
  150.       if(it.gov.spcoop.sica.manifest.AccordoServizio.modelStaticInstance==null){
  151.             initModelStaticInstance();
  152.       }
  153.       return it.gov.spcoop.sica.manifest.AccordoServizio.modelStaticInstance;
  154.   }


  155.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  156.   @XmlElement(name="descrizione",required=true,nillable=false)
  157.   protected java.lang.String descrizione;

  158.   @XmlElement(name="specificaSemiformale",required=false,nillable=false)
  159.   protected SpecificaSemiformale specificaSemiformale;

  160.   @XmlElement(name="allegati",required=false,nillable=false)
  161.   protected ElencoAllegati allegati;

  162.   @XmlElement(name="parteComune",required=false,nillable=false)
  163.   protected AccordoServizioParteComune parteComune;

  164.   @XmlElement(name="parteSpecifica",required=false,nillable=false)
  165.   protected AccordoServizioParteSpecifica parteSpecifica;

  166.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  167.   @XmlAttribute(name="nome",required=true)
  168.   protected java.lang.String nome;

  169.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  170.   @XmlAttribute(name="versione",required=false)
  171.   protected java.lang.String versione;

  172.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  173.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  174.   @XmlAttribute(name="dataCreazione",required=true)
  175.   protected java.util.Date dataCreazione;

  176.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  177.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  178.   @XmlAttribute(name="dataPubblicazione",required=false)
  179.   protected java.util.Date dataPubblicazione;

  180.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  181.   @XmlAttribute(name="firmato",required=false)
  182.   protected boolean firmato = false;

  183.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  184.   @XmlAttribute(name="riservato",required=false)
  185.   protected boolean riservato = false;

  186. }