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 org.openspcoop2.core.commons.search;

  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 java.io.Serializable;


  27. /** <p>Java class for accordo-servizio-parte-specifica complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="accordo-servizio-parte-specifica"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  35.  *          &lt;element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="versione" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="port-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="id-erogatore" type="{http://www.openspcoop2.org/core/commons/search}id-soggetto" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="id-accordo-servizio-parte-comune" type="{http://www.openspcoop2.org/core/commons/search}id-accordo-servizio-parte-comune" minOccurs="1" 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 = "accordo-servizio-parte-specifica",
  51.   propOrder = {
  52.     "tipo",
  53.     "nome",
  54.     "versione",
  55.     "portType",
  56.     "idErogatore",
  57.     "idAccordoServizioParteComune"
  58.   }
  59. )

  60. @XmlRootElement(name = "accordo-servizio-parte-specifica")

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

  65.   public java.lang.String getTipo() {
  66.     return this.tipo;
  67.   }

  68.   public void setTipo(java.lang.String tipo) {
  69.     this.tipo = tipo;
  70.   }

  71.   public java.lang.String getNome() {
  72.     return this.nome;
  73.   }

  74.   public void setNome(java.lang.String nome) {
  75.     this.nome = nome;
  76.   }

  77.   public java.lang.Integer getVersione() {
  78.     return this.versione;
  79.   }

  80.   public void setVersione(java.lang.Integer versione) {
  81.     this.versione = versione;
  82.   }

  83.   public java.lang.String getPortType() {
  84.     return this.portType;
  85.   }

  86.   public void setPortType(java.lang.String portType) {
  87.     this.portType = portType;
  88.   }

  89.   public IdSoggetto getIdErogatore() {
  90.     return this.idErogatore;
  91.   }

  92.   public void setIdErogatore(IdSoggetto idErogatore) {
  93.     this.idErogatore = idErogatore;
  94.   }

  95.   public IdAccordoServizioParteComune getIdAccordoServizioParteComune() {
  96.     return this.idAccordoServizioParteComune;
  97.   }

  98.   public void setIdAccordoServizioParteComune(IdAccordoServizioParteComune idAccordoServizioParteComune) {
  99.     this.idAccordoServizioParteComune = idAccordoServizioParteComune;
  100.   }

  101.   private static final long serialVersionUID = 1L;

  102.   private static org.openspcoop2.core.commons.search.model.AccordoServizioParteSpecificaModel modelStaticInstance = null;
  103.   private static synchronized void initModelStaticInstance(){
  104.       if(org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica.modelStaticInstance==null){
  105.             org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica.modelStaticInstance = new org.openspcoop2.core.commons.search.model.AccordoServizioParteSpecificaModel();
  106.       }
  107.   }
  108.   public static org.openspcoop2.core.commons.search.model.AccordoServizioParteSpecificaModel model(){
  109.       if(org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica.modelStaticInstance==null){
  110.             initModelStaticInstance();
  111.       }
  112.       return org.openspcoop2.core.commons.search.AccordoServizioParteSpecifica.modelStaticInstance;
  113.   }


  114.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  115.   @XmlElement(name="tipo",required=true,nillable=false)
  116.   protected java.lang.String tipo;

  117.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  118.   @XmlElement(name="nome",required=true,nillable=false)
  119.   protected java.lang.String nome;

  120.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  121.   @XmlElement(name="versione",required=true,nillable=false)
  122.   protected java.lang.Integer versione;

  123.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  124.   @XmlElement(name="port-type",required=true,nillable=false)
  125.   protected java.lang.String portType;

  126.   @XmlElement(name="id-erogatore",required=true,nillable=false)
  127.   protected IdSoggetto idErogatore;

  128.   @XmlElement(name="id-accordo-servizio-parte-comune",required=true,nillable=false)
  129.   protected IdAccordoServizioParteComune idAccordoServizioParteComune;

  130. }