Openspcoop2.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.manifest;

  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 openspcoop2 complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="openspcoop2"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="protocol" type="{http://www.openspcoop2.org/protocol/manifest}protocol" minOccurs="1" maxOccurs="1"/&gt;
  35.  *          &lt;element name="binding" type="{http://www.openspcoop2.org/protocol/manifest}binding" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="web" type="{http://www.openspcoop2.org/protocol/manifest}web" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="registry" type="{http://www.openspcoop2.org/protocol/manifest}registry" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="urlMapping" type="{http://www.openspcoop2.org/protocol/manifest}urlMapping" minOccurs="1" maxOccurs="1"/&gt;
  39.  *      &lt;/sequence&gt;
  40.  * &lt;/complexType&gt;
  41.  * </pre>
  42.  *
  43.  * @version $Rev$, $Date$
  44.  *
  45.  * @author Poli Andrea (poli@link.it)
  46.  * @author $Author$
  47.  * */

  48. @XmlAccessorType(XmlAccessType.FIELD)
  49. @XmlType(name = "openspcoop2",
  50.   propOrder = {
  51.     "protocol",
  52.     "binding",
  53.     "web",
  54.     "registry",
  55.     "urlMapping"
  56.   }
  57. )

  58. @XmlRootElement(name = "openspcoop2")

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

  63.   public Protocol getProtocol() {
  64.     return this.protocol;
  65.   }

  66.   public void setProtocol(Protocol protocol) {
  67.     this.protocol = protocol;
  68.   }

  69.   public Binding getBinding() {
  70.     return this.binding;
  71.   }

  72.   public void setBinding(Binding binding) {
  73.     this.binding = binding;
  74.   }

  75.   public Web getWeb() {
  76.     return this.web;
  77.   }

  78.   public void setWeb(Web web) {
  79.     this.web = web;
  80.   }

  81.   public Registry getRegistry() {
  82.     return this.registry;
  83.   }

  84.   public void setRegistry(Registry registry) {
  85.     this.registry = registry;
  86.   }

  87.   public UrlMapping getUrlMapping() {
  88.     return this.urlMapping;
  89.   }

  90.   public void setUrlMapping(UrlMapping urlMapping) {
  91.     this.urlMapping = urlMapping;
  92.   }

  93.   private static final long serialVersionUID = 1L;

  94.   private static org.openspcoop2.protocol.manifest.model.Openspcoop2Model modelStaticInstance = null;
  95.   private static synchronized void initModelStaticInstance(){
  96.       if(org.openspcoop2.protocol.manifest.Openspcoop2.modelStaticInstance==null){
  97.             org.openspcoop2.protocol.manifest.Openspcoop2.modelStaticInstance = new org.openspcoop2.protocol.manifest.model.Openspcoop2Model();
  98.       }
  99.   }
  100.   public static org.openspcoop2.protocol.manifest.model.Openspcoop2Model model(){
  101.       if(org.openspcoop2.protocol.manifest.Openspcoop2.modelStaticInstance==null){
  102.             initModelStaticInstance();
  103.       }
  104.       return org.openspcoop2.protocol.manifest.Openspcoop2.modelStaticInstance;
  105.   }


  106.   @XmlElement(name="protocol",required=true,nillable=false)
  107.   protected Protocol protocol;

  108.   @XmlElement(name="binding",required=true,nillable=false)
  109.   protected Binding binding;

  110.   @XmlElement(name="web",required=true,nillable=false)
  111.   protected Web web;

  112.   @XmlElement(name="registry",required=true,nillable=false)
  113.   protected Registry registry;

  114.   @XmlElement(name="urlMapping",required=true,nillable=false)
  115.   protected UrlMapping urlMapping;

  116. }