AccordoServizioParteComune.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 org.openspcoop2.core.id.IDAccordo;
  28. import org.openspcoop2.core.registry.constants.FormatoSpecifica;
  29. import org.openspcoop2.core.registry.constants.MessageType;
  30. import org.openspcoop2.core.registry.constants.ProfiloCollaborazione;
  31. import org.openspcoop2.core.registry.constants.ServiceBinding;
  32. import org.openspcoop2.core.registry.constants.StatoFunzionalita;
  33. import java.io.Serializable;
  34. import java.util.ArrayList;
  35. import java.util.List;


  36. /** <p>Java class for accordo-servizio-parte-comune complex type.
  37.  *
  38.  * <p>The following schema fragment specifies the expected content contained within this class.
  39.  *
  40.  * <pre>
  41.  * &lt;complexType name="accordo-servizio-parte-comune"&gt;
  42.  *      &lt;sequence&gt;
  43.  *          &lt;element name="soggetto-referente" type="{http://www.openspcoop2.org/core/registry}id-soggetto" minOccurs="0" maxOccurs="1"/&gt;
  44.  *          &lt;element name="servizio-composto" type="{http://www.openspcoop2.org/core/registry}accordo-servizio-parte-comune-servizio-composto" minOccurs="0" maxOccurs="1"/&gt;
  45.  *          &lt;element name="azione" type="{http://www.openspcoop2.org/core/registry}azione" minOccurs="0" maxOccurs="unbounded"/&gt;
  46.  *          &lt;element name="port-type" type="{http://www.openspcoop2.org/core/registry}port-type" minOccurs="0" maxOccurs="unbounded"/&gt;
  47.  *          &lt;element name="resource" type="{http://www.openspcoop2.org/core/registry}resource" minOccurs="0" maxOccurs="unbounded"/&gt;
  48.  *          &lt;element name="allegato" type="{http://www.openspcoop2.org/core/registry}documento" minOccurs="0" maxOccurs="unbounded"/&gt;
  49.  *          &lt;element name="specifica-semiformale" type="{http://www.openspcoop2.org/core/registry}documento" minOccurs="0" maxOccurs="unbounded"/&gt;
  50.  *          &lt;element name="protocol-property" type="{http://www.openspcoop2.org/core/registry}protocol-property" minOccurs="0" maxOccurs="unbounded"/&gt;
  51.  *          &lt;element name="gruppi" type="{http://www.openspcoop2.org/core/registry}gruppi-accordo" minOccurs="0" maxOccurs="1"/&gt;
  52.  *          &lt;element name="proprieta-oggetto" type="{http://www.openspcoop2.org/core/registry}proprieta-oggetto" minOccurs="0" maxOccurs="1"/&gt;
  53.  *      &lt;/sequence&gt;
  54.  *      &lt;attribute name="super-user" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  55.  *      &lt;attribute name="stato-package" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  56.  *      &lt;attribute name="privato" type="{http://www.w3.org/2001/XMLSchema}string" use="optional" default="false"/&gt;
  57.  *      &lt;attribute name="byte-wsdl-definitorio" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  58.  *      &lt;attribute name="byte-wsdl-concettuale" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  59.  *      &lt;attribute name="byte-wsdl-logico-erogatore" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  60.  *      &lt;attribute name="byte-wsdl-logico-fruitore" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  61.  *      &lt;attribute name="byte-specifica-conversazione-concettuale" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  62.  *      &lt;attribute name="byte-specifica-conversazione-erogatore" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  63.  *      &lt;attribute name="byte-specifica-conversazione-fruitore" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  64.  *      &lt;attribute name="service-binding" type="{http://www.openspcoop2.org/core/registry}ServiceBinding" use="required"/&gt;
  65.  *      &lt;attribute name="message-type" type="{http://www.openspcoop2.org/core/registry}MessageType" use="optional"/&gt;
  66.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  67.  *      &lt;attribute name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  68.  *      &lt;attribute name="profilo-collaborazione" type="{http://www.openspcoop2.org/core/registry}ProfiloCollaborazione" use="required"/&gt;
  69.  *      &lt;attribute name="formato-specifica" type="{http://www.openspcoop2.org/core/registry}FormatoSpecifica" use="optional"/&gt;
  70.  *      &lt;attribute name="wsdl-definitorio" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  71.  *      &lt;attribute name="wsdl-concettuale" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  72.  *      &lt;attribute name="wsdl-logico-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  73.  *      &lt;attribute name="wsdl-logico-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  74.  *      &lt;attribute name="specifica-conversazione-concettuale" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  75.  *      &lt;attribute name="specifica-conversazione-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  76.  *      &lt;attribute name="specifica-conversazione-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  77.  *      &lt;attribute name="utilizzo-senza-azione" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  78.  *      &lt;attribute name="filtro-duplicati" type="{http://www.openspcoop2.org/core/registry}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  79.  *      &lt;attribute name="conferma-ricezione" type="{http://www.openspcoop2.org/core/registry}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  80.  *      &lt;attribute name="id-collaborazione" type="{http://www.openspcoop2.org/core/registry}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  81.  *      &lt;attribute name="id-riferimento-richiesta" type="{http://www.openspcoop2.org/core/registry}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  82.  *      &lt;attribute name="consegna-in-ordine" type="{http://www.openspcoop2.org/core/registry}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  83.  *      &lt;attribute name="scadenza" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  84.  *      &lt;attribute name="ora-registrazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" use="optional"/&gt;
  85.  *      &lt;attribute name="versione" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" use="optional" default="1"/&gt;
  86.  *      &lt;attribute name="canale" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  87.  * &lt;/complexType&gt;
  88.  * </pre>
  89.  *
  90.  * @version $Rev$, $Date$
  91.  *
  92.  * @author Poli Andrea (poli@link.it)
  93.  * @author $Author$
  94.  * */

  95. @XmlAccessorType(XmlAccessType.FIELD)
  96. @XmlType(name = "accordo-servizio-parte-comune",
  97.   propOrder = {
  98.     "soggettoReferente",
  99.     "servizioComposto",
  100.     "azione",
  101.     "portType",
  102.     "resource",
  103.     "allegato",
  104.     "specificaSemiformale",
  105.     "protocolProperty",
  106.     "gruppi",
  107.     "proprietaOggetto"
  108.   }
  109. )

  110. @XmlRootElement(name = "accordo-servizio-parte-comune")

  111. public class AccordoServizioParteComune extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  112.   public AccordoServizioParteComune() {
  113.     super();
  114.   }

  115.   public IDAccordo getOldIDAccordoForUpdate() {
  116.     return this.oldIDAccordoForUpdate;
  117.   }

  118.   public void setOldIDAccordoForUpdate(IDAccordo oldIDAccordoForUpdate) {
  119.     this.oldIDAccordoForUpdate=oldIDAccordoForUpdate;
  120.   }

  121.   public IdSoggetto getSoggettoReferente() {
  122.     return this.soggettoReferente;
  123.   }

  124.   public void setSoggettoReferente(IdSoggetto soggettoReferente) {
  125.     this.soggettoReferente = soggettoReferente;
  126.   }

  127.   public AccordoServizioParteComuneServizioComposto getServizioComposto() {
  128.     return this.servizioComposto;
  129.   }

  130.   public void setServizioComposto(AccordoServizioParteComuneServizioComposto servizioComposto) {
  131.     this.servizioComposto = servizioComposto;
  132.   }

  133.   public void addAzione(Azione azione) {
  134.     this.azione.add(azione);
  135.   }

  136.   public Azione getAzione(int index) {
  137.     return this.azione.get( index );
  138.   }

  139.   public Azione removeAzione(int index) {
  140.     return this.azione.remove( index );
  141.   }

  142.   public List<Azione> getAzioneList() {
  143.     return this.azione;
  144.   }

  145.   public void setAzioneList(List<Azione> azione) {
  146.     this.azione=azione;
  147.   }

  148.   public int sizeAzioneList() {
  149.     return this.azione.size();
  150.   }

  151.   public void addPortType(PortType portType) {
  152.     this.portType.add(portType);
  153.   }

  154.   public PortType getPortType(int index) {
  155.     return this.portType.get( index );
  156.   }

  157.   public PortType removePortType(int index) {
  158.     return this.portType.remove( index );
  159.   }

  160.   public List<PortType> getPortTypeList() {
  161.     return this.portType;
  162.   }

  163.   public void setPortTypeList(List<PortType> portType) {
  164.     this.portType=portType;
  165.   }

  166.   public int sizePortTypeList() {
  167.     return this.portType.size();
  168.   }

  169.   public void addResource(Resource resource) {
  170.     this.resource.add(resource);
  171.   }

  172.   public Resource getResource(int index) {
  173.     return this.resource.get( index );
  174.   }

  175.   public Resource removeResource(int index) {
  176.     return this.resource.remove( index );
  177.   }

  178.   public List<Resource> getResourceList() {
  179.     return this.resource;
  180.   }

  181.   public void setResourceList(List<Resource> resource) {
  182.     this.resource=resource;
  183.   }

  184.   public int sizeResourceList() {
  185.     return this.resource.size();
  186.   }

  187.   public void addAllegato(Documento allegato) {
  188.     this.allegato.add(allegato);
  189.   }

  190.   public Documento getAllegato(int index) {
  191.     return this.allegato.get( index );
  192.   }

  193.   public Documento removeAllegato(int index) {
  194.     return this.allegato.remove( index );
  195.   }

  196.   public List<Documento> getAllegatoList() {
  197.     return this.allegato;
  198.   }

  199.   public void setAllegatoList(List<Documento> allegato) {
  200.     this.allegato=allegato;
  201.   }

  202.   public int sizeAllegatoList() {
  203.     return this.allegato.size();
  204.   }

  205.   public void addSpecificaSemiformale(Documento specificaSemiformale) {
  206.     this.specificaSemiformale.add(specificaSemiformale);
  207.   }

  208.   public Documento getSpecificaSemiformale(int index) {
  209.     return this.specificaSemiformale.get( index );
  210.   }

  211.   public Documento removeSpecificaSemiformale(int index) {
  212.     return this.specificaSemiformale.remove( index );
  213.   }

  214.   public List<Documento> getSpecificaSemiformaleList() {
  215.     return this.specificaSemiformale;
  216.   }

  217.   public void setSpecificaSemiformaleList(List<Documento> specificaSemiformale) {
  218.     this.specificaSemiformale=specificaSemiformale;
  219.   }

  220.   public int sizeSpecificaSemiformaleList() {
  221.     return this.specificaSemiformale.size();
  222.   }

  223.   public void addProtocolProperty(ProtocolProperty protocolProperty) {
  224.     this.protocolProperty.add(protocolProperty);
  225.   }

  226.   public ProtocolProperty getProtocolProperty(int index) {
  227.     return this.protocolProperty.get( index );
  228.   }

  229.   public ProtocolProperty removeProtocolProperty(int index) {
  230.     return this.protocolProperty.remove( index );
  231.   }

  232.   public List<ProtocolProperty> getProtocolPropertyList() {
  233.     return this.protocolProperty;
  234.   }

  235.   public void setProtocolPropertyList(List<ProtocolProperty> protocolProperty) {
  236.     this.protocolProperty=protocolProperty;
  237.   }

  238.   public int sizeProtocolPropertyList() {
  239.     return this.protocolProperty.size();
  240.   }

  241.   public GruppiAccordo getGruppi() {
  242.     return this.gruppi;
  243.   }

  244.   public void setGruppi(GruppiAccordo gruppi) {
  245.     this.gruppi = gruppi;
  246.   }

  247.   public ProprietaOggetto getProprietaOggetto() {
  248.     return this.proprietaOggetto;
  249.   }

  250.   public void setProprietaOggetto(ProprietaOggetto proprietaOggetto) {
  251.     this.proprietaOggetto = proprietaOggetto;
  252.   }

  253.   public java.lang.String getSuperUser() {
  254.     return this.superUser;
  255.   }

  256.   public void setSuperUser(java.lang.String superUser) {
  257.     this.superUser = superUser;
  258.   }

  259.   public java.lang.String getStatoPackage() {
  260.     return this.statoPackage;
  261.   }

  262.   public void setStatoPackage(java.lang.String statoPackage) {
  263.     this.statoPackage = statoPackage;
  264.   }

  265.   public Boolean getPrivato() {
  266.     return this.privato;
  267.   }

  268.   public void setPrivato(Boolean privato) {
  269.     this.privato = privato;
  270.   }

  271.   public byte[] getByteWsdlDefinitorio() {
  272.     return this.byteWsdlDefinitorio;
  273.   }

  274.   public void setByteWsdlDefinitorio(byte[] byteWsdlDefinitorio) {
  275.     this.byteWsdlDefinitorio = byteWsdlDefinitorio;
  276.   }

  277.   public byte[] getByteWsdlConcettuale() {
  278.     return this.byteWsdlConcettuale;
  279.   }

  280.   public void setByteWsdlConcettuale(byte[] byteWsdlConcettuale) {
  281.     this.byteWsdlConcettuale = byteWsdlConcettuale;
  282.   }

  283.   public byte[] getByteWsdlLogicoErogatore() {
  284.     return this.byteWsdlLogicoErogatore;
  285.   }

  286.   public void setByteWsdlLogicoErogatore(byte[] byteWsdlLogicoErogatore) {
  287.     this.byteWsdlLogicoErogatore = byteWsdlLogicoErogatore;
  288.   }

  289.   public byte[] getByteWsdlLogicoFruitore() {
  290.     return this.byteWsdlLogicoFruitore;
  291.   }

  292.   public void setByteWsdlLogicoFruitore(byte[] byteWsdlLogicoFruitore) {
  293.     this.byteWsdlLogicoFruitore = byteWsdlLogicoFruitore;
  294.   }

  295.   public byte[] getByteSpecificaConversazioneConcettuale() {
  296.     return this.byteSpecificaConversazioneConcettuale;
  297.   }

  298.   public void setByteSpecificaConversazioneConcettuale(byte[] byteSpecificaConversazioneConcettuale) {
  299.     this.byteSpecificaConversazioneConcettuale = byteSpecificaConversazioneConcettuale;
  300.   }

  301.   public byte[] getByteSpecificaConversazioneErogatore() {
  302.     return this.byteSpecificaConversazioneErogatore;
  303.   }

  304.   public void setByteSpecificaConversazioneErogatore(byte[] byteSpecificaConversazioneErogatore) {
  305.     this.byteSpecificaConversazioneErogatore = byteSpecificaConversazioneErogatore;
  306.   }

  307.   public byte[] getByteSpecificaConversazioneFruitore() {
  308.     return this.byteSpecificaConversazioneFruitore;
  309.   }

  310.   public void setByteSpecificaConversazioneFruitore(byte[] byteSpecificaConversazioneFruitore) {
  311.     this.byteSpecificaConversazioneFruitore = byteSpecificaConversazioneFruitore;
  312.   }

  313.   public void setServiceBindingRawEnumValue(String value) {
  314.     this.serviceBinding = (ServiceBinding) ServiceBinding.toEnumConstantFromString(value);
  315.   }

  316.   public String getServiceBindingRawEnumValue() {
  317.     if(this.serviceBinding == null){
  318.         return null;
  319.     }else{
  320.         return this.serviceBinding.toString();
  321.     }
  322.   }

  323.   public org.openspcoop2.core.registry.constants.ServiceBinding getServiceBinding() {
  324.     return this.serviceBinding;
  325.   }

  326.   public void setServiceBinding(org.openspcoop2.core.registry.constants.ServiceBinding serviceBinding) {
  327.     this.serviceBinding = serviceBinding;
  328.   }

  329.   public void setMessageTypeRawEnumValue(String value) {
  330.     this.messageType = (MessageType) MessageType.toEnumConstantFromString(value);
  331.   }

  332.   public String getMessageTypeRawEnumValue() {
  333.     if(this.messageType == null){
  334.         return null;
  335.     }else{
  336.         return this.messageType.toString();
  337.     }
  338.   }

  339.   public org.openspcoop2.core.registry.constants.MessageType getMessageType() {
  340.     return this.messageType;
  341.   }

  342.   public void setMessageType(org.openspcoop2.core.registry.constants.MessageType messageType) {
  343.     this.messageType = messageType;
  344.   }

  345.   public java.lang.String getNome() {
  346.     return this.nome;
  347.   }

  348.   public void setNome(java.lang.String nome) {
  349.     this.nome = nome;
  350.   }

  351.   public java.lang.String getDescrizione() {
  352.     return this.descrizione;
  353.   }

  354.   public void setDescrizione(java.lang.String descrizione) {
  355.     this.descrizione = descrizione;
  356.   }

  357.   public void setProfiloCollaborazioneRawEnumValue(String value) {
  358.     this.profiloCollaborazione = (ProfiloCollaborazione) ProfiloCollaborazione.toEnumConstantFromString(value);
  359.   }

  360.   public String getProfiloCollaborazioneRawEnumValue() {
  361.     if(this.profiloCollaborazione == null){
  362.         return null;
  363.     }else{
  364.         return this.profiloCollaborazione.toString();
  365.     }
  366.   }

  367.   public org.openspcoop2.core.registry.constants.ProfiloCollaborazione getProfiloCollaborazione() {
  368.     return this.profiloCollaborazione;
  369.   }

  370.   public void setProfiloCollaborazione(org.openspcoop2.core.registry.constants.ProfiloCollaborazione profiloCollaborazione) {
  371.     this.profiloCollaborazione = profiloCollaborazione;
  372.   }

  373.   public void setFormatoSpecificaRawEnumValue(String value) {
  374.     this.formatoSpecifica = (FormatoSpecifica) FormatoSpecifica.toEnumConstantFromString(value);
  375.   }

  376.   public String getFormatoSpecificaRawEnumValue() {
  377.     if(this.formatoSpecifica == null){
  378.         return null;
  379.     }else{
  380.         return this.formatoSpecifica.toString();
  381.     }
  382.   }

  383.   public org.openspcoop2.core.registry.constants.FormatoSpecifica getFormatoSpecifica() {
  384.     return this.formatoSpecifica;
  385.   }

  386.   public void setFormatoSpecifica(org.openspcoop2.core.registry.constants.FormatoSpecifica formatoSpecifica) {
  387.     this.formatoSpecifica = formatoSpecifica;
  388.   }

  389.   public java.lang.String getWsdlDefinitorio() {
  390.     return this.wsdlDefinitorio;
  391.   }

  392.   public void setWsdlDefinitorio(java.lang.String wsdlDefinitorio) {
  393.     this.wsdlDefinitorio = wsdlDefinitorio;
  394.   }

  395.   public java.lang.String getWsdlConcettuale() {
  396.     return this.wsdlConcettuale;
  397.   }

  398.   public void setWsdlConcettuale(java.lang.String wsdlConcettuale) {
  399.     this.wsdlConcettuale = wsdlConcettuale;
  400.   }

  401.   public java.lang.String getWsdlLogicoErogatore() {
  402.     return this.wsdlLogicoErogatore;
  403.   }

  404.   public void setWsdlLogicoErogatore(java.lang.String wsdlLogicoErogatore) {
  405.     this.wsdlLogicoErogatore = wsdlLogicoErogatore;
  406.   }

  407.   public java.lang.String getWsdlLogicoFruitore() {
  408.     return this.wsdlLogicoFruitore;
  409.   }

  410.   public void setWsdlLogicoFruitore(java.lang.String wsdlLogicoFruitore) {
  411.     this.wsdlLogicoFruitore = wsdlLogicoFruitore;
  412.   }

  413.   public java.lang.String getSpecificaConversazioneConcettuale() {
  414.     return this.specificaConversazioneConcettuale;
  415.   }

  416.   public void setSpecificaConversazioneConcettuale(java.lang.String specificaConversazioneConcettuale) {
  417.     this.specificaConversazioneConcettuale = specificaConversazioneConcettuale;
  418.   }

  419.   public java.lang.String getSpecificaConversazioneErogatore() {
  420.     return this.specificaConversazioneErogatore;
  421.   }

  422.   public void setSpecificaConversazioneErogatore(java.lang.String specificaConversazioneErogatore) {
  423.     this.specificaConversazioneErogatore = specificaConversazioneErogatore;
  424.   }

  425.   public java.lang.String getSpecificaConversazioneFruitore() {
  426.     return this.specificaConversazioneFruitore;
  427.   }

  428.   public void setSpecificaConversazioneFruitore(java.lang.String specificaConversazioneFruitore) {
  429.     this.specificaConversazioneFruitore = specificaConversazioneFruitore;
  430.   }

  431.   public boolean isUtilizzoSenzaAzione() {
  432.     return this.utilizzoSenzaAzione;
  433.   }

  434.   public boolean getUtilizzoSenzaAzione() {
  435.     return this.utilizzoSenzaAzione;
  436.   }

  437.   public void setUtilizzoSenzaAzione(boolean utilizzoSenzaAzione) {
  438.     this.utilizzoSenzaAzione = utilizzoSenzaAzione;
  439.   }

  440.   public void setFiltroDuplicatiRawEnumValue(String value) {
  441.     this.filtroDuplicati = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  442.   }

  443.   public String getFiltroDuplicatiRawEnumValue() {
  444.     if(this.filtroDuplicati == null){
  445.         return null;
  446.     }else{
  447.         return this.filtroDuplicati.toString();
  448.     }
  449.   }

  450.   public org.openspcoop2.core.registry.constants.StatoFunzionalita getFiltroDuplicati() {
  451.     return this.filtroDuplicati;
  452.   }

  453.   public void setFiltroDuplicati(org.openspcoop2.core.registry.constants.StatoFunzionalita filtroDuplicati) {
  454.     this.filtroDuplicati = filtroDuplicati;
  455.   }

  456.   public void setConfermaRicezioneRawEnumValue(String value) {
  457.     this.confermaRicezione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  458.   }

  459.   public String getConfermaRicezioneRawEnumValue() {
  460.     if(this.confermaRicezione == null){
  461.         return null;
  462.     }else{
  463.         return this.confermaRicezione.toString();
  464.     }
  465.   }

  466.   public org.openspcoop2.core.registry.constants.StatoFunzionalita getConfermaRicezione() {
  467.     return this.confermaRicezione;
  468.   }

  469.   public void setConfermaRicezione(org.openspcoop2.core.registry.constants.StatoFunzionalita confermaRicezione) {
  470.     this.confermaRicezione = confermaRicezione;
  471.   }

  472.   public void setIdCollaborazioneRawEnumValue(String value) {
  473.     this.idCollaborazione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  474.   }

  475.   public String getIdCollaborazioneRawEnumValue() {
  476.     if(this.idCollaborazione == null){
  477.         return null;
  478.     }else{
  479.         return this.idCollaborazione.toString();
  480.     }
  481.   }

  482.   public org.openspcoop2.core.registry.constants.StatoFunzionalita getIdCollaborazione() {
  483.     return this.idCollaborazione;
  484.   }

  485.   public void setIdCollaborazione(org.openspcoop2.core.registry.constants.StatoFunzionalita idCollaborazione) {
  486.     this.idCollaborazione = idCollaborazione;
  487.   }

  488.   public void setIdRiferimentoRichiestaRawEnumValue(String value) {
  489.     this.idRiferimentoRichiesta = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  490.   }

  491.   public String getIdRiferimentoRichiestaRawEnumValue() {
  492.     if(this.idRiferimentoRichiesta == null){
  493.         return null;
  494.     }else{
  495.         return this.idRiferimentoRichiesta.toString();
  496.     }
  497.   }

  498.   public org.openspcoop2.core.registry.constants.StatoFunzionalita getIdRiferimentoRichiesta() {
  499.     return this.idRiferimentoRichiesta;
  500.   }

  501.   public void setIdRiferimentoRichiesta(org.openspcoop2.core.registry.constants.StatoFunzionalita idRiferimentoRichiesta) {
  502.     this.idRiferimentoRichiesta = idRiferimentoRichiesta;
  503.   }

  504.   public void setConsegnaInOrdineRawEnumValue(String value) {
  505.     this.consegnaInOrdine = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  506.   }

  507.   public String getConsegnaInOrdineRawEnumValue() {
  508.     if(this.consegnaInOrdine == null){
  509.         return null;
  510.     }else{
  511.         return this.consegnaInOrdine.toString();
  512.     }
  513.   }

  514.   public org.openspcoop2.core.registry.constants.StatoFunzionalita getConsegnaInOrdine() {
  515.     return this.consegnaInOrdine;
  516.   }

  517.   public void setConsegnaInOrdine(org.openspcoop2.core.registry.constants.StatoFunzionalita consegnaInOrdine) {
  518.     this.consegnaInOrdine = consegnaInOrdine;
  519.   }

  520.   public java.lang.String getScadenza() {
  521.     return this.scadenza;
  522.   }

  523.   public void setScadenza(java.lang.String scadenza) {
  524.     this.scadenza = scadenza;
  525.   }

  526.   public java.util.Date getOraRegistrazione() {
  527.     return this.oraRegistrazione;
  528.   }

  529.   public void setOraRegistrazione(java.util.Date oraRegistrazione) {
  530.     this.oraRegistrazione = oraRegistrazione;
  531.   }

  532.   public java.lang.Integer getVersione() {
  533.     return this.versione;
  534.   }

  535.   public void setVersione(java.lang.Integer versione) {
  536.     this.versione = versione;
  537.   }

  538.   public java.lang.String getCanale() {
  539.     return this.canale;
  540.   }

  541.   public void setCanale(java.lang.String canale) {
  542.     this.canale = canale;
  543.   }

  544.   private static final long serialVersionUID = 1L;

  545.   private static org.openspcoop2.core.registry.model.AccordoServizioParteComuneModel modelStaticInstance = null;
  546.   private static synchronized void initModelStaticInstance(){
  547.       if(org.openspcoop2.core.registry.AccordoServizioParteComune.modelStaticInstance==null){
  548.             org.openspcoop2.core.registry.AccordoServizioParteComune.modelStaticInstance = new org.openspcoop2.core.registry.model.AccordoServizioParteComuneModel();
  549.       }
  550.   }
  551.   public static org.openspcoop2.core.registry.model.AccordoServizioParteComuneModel model(){
  552.       if(org.openspcoop2.core.registry.AccordoServizioParteComune.modelStaticInstance==null){
  553.             initModelStaticInstance();
  554.       }
  555.       return org.openspcoop2.core.registry.AccordoServizioParteComune.modelStaticInstance;
  556.   }


  557.   @javax.xml.bind.annotation.XmlTransient
  558.   protected IDAccordo oldIDAccordoForUpdate;

  559.   @XmlElement(name="soggetto-referente",required=false,nillable=false)
  560.   protected IdSoggetto soggettoReferente;

  561.   @XmlElement(name="servizio-composto",required=false,nillable=false)
  562.   protected AccordoServizioParteComuneServizioComposto servizioComposto;

  563.   @XmlElement(name="azione",required=true,nillable=false)
  564.   private List<Azione> azione = new ArrayList<>();

  565.   /**
  566.    * Use method getAzioneList
  567.    * @return List&lt;Azione&gt;
  568.   */
  569.   public List<Azione> getAzione() {
  570.     return this.getAzioneList();
  571.   }

  572.   /**
  573.    * Use method setAzioneList
  574.    * @param azione List&lt;Azione&gt;
  575.   */
  576.   public void setAzione(List<Azione> azione) {
  577.     this.setAzioneList(azione);
  578.   }

  579.   /**
  580.    * Use method sizeAzioneList
  581.    * @return lunghezza della lista
  582.   */
  583.   public int sizeAzione() {
  584.     return this.sizeAzioneList();
  585.   }

  586.   @XmlElement(name="port-type",required=true,nillable=false)
  587.   private List<PortType> portType = new ArrayList<>();

  588.   /**
  589.    * Use method getPortTypeList
  590.    * @return List&lt;PortType&gt;
  591.   */
  592.   public List<PortType> getPortType() {
  593.     return this.getPortTypeList();
  594.   }

  595.   /**
  596.    * Use method setPortTypeList
  597.    * @param portType List&lt;PortType&gt;
  598.   */
  599.   public void setPortType(List<PortType> portType) {
  600.     this.setPortTypeList(portType);
  601.   }

  602.   /**
  603.    * Use method sizePortTypeList
  604.    * @return lunghezza della lista
  605.   */
  606.   public int sizePortType() {
  607.     return this.sizePortTypeList();
  608.   }

  609.   @XmlElement(name="resource",required=true,nillable=false)
  610.   private List<Resource> resource = new ArrayList<>();

  611.   /**
  612.    * Use method getResourceList
  613.    * @return List&lt;Resource&gt;
  614.   */
  615.   public List<Resource> getResource() {
  616.     return this.getResourceList();
  617.   }

  618.   /**
  619.    * Use method setResourceList
  620.    * @param resource List&lt;Resource&gt;
  621.   */
  622.   public void setResource(List<Resource> resource) {
  623.     this.setResourceList(resource);
  624.   }

  625.   /**
  626.    * Use method sizeResourceList
  627.    * @return lunghezza della lista
  628.   */
  629.   public int sizeResource() {
  630.     return this.sizeResourceList();
  631.   }

  632.   @XmlElement(name="allegato",required=true,nillable=false)
  633.   private List<Documento> allegato = new ArrayList<>();

  634.   /**
  635.    * Use method getAllegatoList
  636.    * @return List&lt;Documento&gt;
  637.   */
  638.   public List<Documento> getAllegato() {
  639.     return this.getAllegatoList();
  640.   }

  641.   /**
  642.    * Use method setAllegatoList
  643.    * @param allegato List&lt;Documento&gt;
  644.   */
  645.   public void setAllegato(List<Documento> allegato) {
  646.     this.setAllegatoList(allegato);
  647.   }

  648.   /**
  649.    * Use method sizeAllegatoList
  650.    * @return lunghezza della lista
  651.   */
  652.   public int sizeAllegato() {
  653.     return this.sizeAllegatoList();
  654.   }

  655.   @XmlElement(name="specifica-semiformale",required=true,nillable=false)
  656.   private List<Documento> specificaSemiformale = new ArrayList<>();

  657.   /**
  658.    * Use method getSpecificaSemiformaleList
  659.    * @return List&lt;Documento&gt;
  660.   */
  661.   public List<Documento> getSpecificaSemiformale() {
  662.     return this.getSpecificaSemiformaleList();
  663.   }

  664.   /**
  665.    * Use method setSpecificaSemiformaleList
  666.    * @param specificaSemiformale List&lt;Documento&gt;
  667.   */
  668.   public void setSpecificaSemiformale(List<Documento> specificaSemiformale) {
  669.     this.setSpecificaSemiformaleList(specificaSemiformale);
  670.   }

  671.   /**
  672.    * Use method sizeSpecificaSemiformaleList
  673.    * @return lunghezza della lista
  674.   */
  675.   public int sizeSpecificaSemiformale() {
  676.     return this.sizeSpecificaSemiformaleList();
  677.   }

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

  680.   /**
  681.    * Use method getProtocolPropertyList
  682.    * @return List&lt;ProtocolProperty&gt;
  683.   */
  684.   public List<ProtocolProperty> getProtocolProperty() {
  685.     return this.getProtocolPropertyList();
  686.   }

  687.   /**
  688.    * Use method setProtocolPropertyList
  689.    * @param protocolProperty List&lt;ProtocolProperty&gt;
  690.   */
  691.   public void setProtocolProperty(List<ProtocolProperty> protocolProperty) {
  692.     this.setProtocolPropertyList(protocolProperty);
  693.   }

  694.   /**
  695.    * Use method sizeProtocolPropertyList
  696.    * @return lunghezza della lista
  697.   */
  698.   public int sizeProtocolProperty() {
  699.     return this.sizeProtocolPropertyList();
  700.   }

  701.   @XmlElement(name="gruppi",required=false,nillable=false)
  702.   protected GruppiAccordo gruppi;

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

  705.   @javax.xml.bind.annotation.XmlTransient
  706.   protected java.lang.String superUser;

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

  710.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  711.   @XmlAttribute(name="privato",required=false)
  712.   protected Boolean privato = Boolean.valueOf("false");

  713.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  714.   @XmlAttribute(name="byte-wsdl-definitorio",required=false)
  715.   protected byte[] byteWsdlDefinitorio;

  716.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  717.   @XmlAttribute(name="byte-wsdl-concettuale",required=false)
  718.   protected byte[] byteWsdlConcettuale;

  719.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  720.   @XmlAttribute(name="byte-wsdl-logico-erogatore",required=false)
  721.   protected byte[] byteWsdlLogicoErogatore;

  722.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  723.   @XmlAttribute(name="byte-wsdl-logico-fruitore",required=false)
  724.   protected byte[] byteWsdlLogicoFruitore;

  725.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  726.   @XmlAttribute(name="byte-specifica-conversazione-concettuale",required=false)
  727.   protected byte[] byteSpecificaConversazioneConcettuale;

  728.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  729.   @XmlAttribute(name="byte-specifica-conversazione-erogatore",required=false)
  730.   protected byte[] byteSpecificaConversazioneErogatore;

  731.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  732.   @XmlAttribute(name="byte-specifica-conversazione-fruitore",required=false)
  733.   protected byte[] byteSpecificaConversazioneFruitore;

  734.   @javax.xml.bind.annotation.XmlTransient
  735.   protected java.lang.String serviceBindingRawEnumValue;

  736.   @XmlAttribute(name="service-binding",required=true)
  737.   protected ServiceBinding serviceBinding;

  738.   @javax.xml.bind.annotation.XmlTransient
  739.   protected java.lang.String messageTypeRawEnumValue;

  740.   @XmlAttribute(name="message-type",required=false)
  741.   protected MessageType messageType;

  742.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  743.   @XmlAttribute(name="nome",required=true)
  744.   protected java.lang.String nome;

  745.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  746.   @XmlAttribute(name="descrizione",required=false)
  747.   protected java.lang.String descrizione;

  748.   @javax.xml.bind.annotation.XmlTransient
  749.   protected java.lang.String profiloCollaborazioneRawEnumValue;

  750.   @XmlAttribute(name="profilo-collaborazione",required=true)
  751.   protected ProfiloCollaborazione profiloCollaborazione;

  752.   @javax.xml.bind.annotation.XmlTransient
  753.   protected java.lang.String formatoSpecificaRawEnumValue;

  754.   @XmlAttribute(name="formato-specifica",required=false)
  755.   protected FormatoSpecifica formatoSpecifica;

  756.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  757.   @XmlAttribute(name="wsdl-definitorio",required=false)
  758.   protected java.lang.String wsdlDefinitorio;

  759.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  760.   @XmlAttribute(name="wsdl-concettuale",required=false)
  761.   protected java.lang.String wsdlConcettuale;

  762.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  763.   @XmlAttribute(name="wsdl-logico-erogatore",required=false)
  764.   protected java.lang.String wsdlLogicoErogatore;

  765.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  766.   @XmlAttribute(name="wsdl-logico-fruitore",required=false)
  767.   protected java.lang.String wsdlLogicoFruitore;

  768.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  769.   @XmlAttribute(name="specifica-conversazione-concettuale",required=false)
  770.   protected java.lang.String specificaConversazioneConcettuale;

  771.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  772.   @XmlAttribute(name="specifica-conversazione-erogatore",required=false)
  773.   protected java.lang.String specificaConversazioneErogatore;

  774.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  775.   @XmlAttribute(name="specifica-conversazione-fruitore",required=false)
  776.   protected java.lang.String specificaConversazioneFruitore;

  777.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  778.   @XmlAttribute(name="utilizzo-senza-azione",required=false)
  779.   protected boolean utilizzoSenzaAzione = false;

  780.   @javax.xml.bind.annotation.XmlTransient
  781.   protected java.lang.String filtroDuplicatiRawEnumValue;

  782.   @XmlAttribute(name="filtro-duplicati",required=false)
  783.   protected StatoFunzionalita filtroDuplicati = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  784.   @javax.xml.bind.annotation.XmlTransient
  785.   protected java.lang.String confermaRicezioneRawEnumValue;

  786.   @XmlAttribute(name="conferma-ricezione",required=false)
  787.   protected StatoFunzionalita confermaRicezione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  788.   @javax.xml.bind.annotation.XmlTransient
  789.   protected java.lang.String idCollaborazioneRawEnumValue;

  790.   @XmlAttribute(name="id-collaborazione",required=false)
  791.   protected StatoFunzionalita idCollaborazione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  792.   @javax.xml.bind.annotation.XmlTransient
  793.   protected java.lang.String idRiferimentoRichiestaRawEnumValue;

  794.   @XmlAttribute(name="id-riferimento-richiesta",required=false)
  795.   protected StatoFunzionalita idRiferimentoRichiesta = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  796.   @javax.xml.bind.annotation.XmlTransient
  797.   protected java.lang.String consegnaInOrdineRawEnumValue;

  798.   @XmlAttribute(name="consegna-in-ordine",required=false)
  799.   protected StatoFunzionalita consegnaInOrdine = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  800.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  801.   @XmlAttribute(name="scadenza",required=false)
  802.   protected java.lang.String scadenza;

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

  807.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  808.   @XmlAttribute(name="versione",required=false)
  809.   protected java.lang.Integer versione = java.lang.Integer.valueOf("1");

  810.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  811.   @XmlAttribute(name="canale",required=false)
  812.   protected java.lang.String canale;

  813. }