SoapConfiguration.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.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 SoapConfiguration complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="SoapConfiguration"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="integration" type="{http://www.openspcoop2.org/protocol/manifest}Integration" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="integrationError" type="{http://www.openspcoop2.org/protocol/manifest}IntegrationErrorConfiguration" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="mediaTypeCollection" type="{http://www.openspcoop2.org/protocol/manifest}SoapMediaTypeCollection" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="interfaces" type="{http://www.openspcoop2.org/protocol/manifest}InterfacesConfiguration" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="profile" type="{http://www.openspcoop2.org/protocol/manifest}CollaborationProfile" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="functionality" type="{http://www.openspcoop2.org/protocol/manifest}Functionality" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="soapHeaderBypassMustUnderstand" type="{http://www.openspcoop2.org/protocol/manifest}SoapHeaderBypassMustUnderstand" minOccurs="0" maxOccurs="1"/&gt;
  42.  *      &lt;/sequence&gt;
  43.  *      &lt;attribute name="soap11" type="{http://www.w3.org/2001/XMLSchema}boolean" use="required"/&gt;
  44.  *      &lt;attribute name="soap11_withAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  45.  *      &lt;attribute name="soap11_mtom" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  46.  *      &lt;attribute name="soap12" type="{http://www.w3.org/2001/XMLSchema}boolean" use="required"/&gt;
  47.  *      &lt;attribute name="soap12_withAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  48.  *      &lt;attribute name="soap12_mtom" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  49.  * &lt;/complexType&gt;
  50.  * </pre>
  51.  *
  52.  * @version $Rev$, $Date$
  53.  *
  54.  * @author Poli Andrea (poli@link.it)
  55.  * @author $Author$
  56.  * */

  57. @XmlAccessorType(XmlAccessType.FIELD)
  58. @XmlType(name = "SoapConfiguration",
  59.   propOrder = {
  60.     "integration",
  61.     "integrationError",
  62.     "mediaTypeCollection",
  63.     "interfaces",
  64.     "profile",
  65.     "functionality",
  66.     "soapHeaderBypassMustUnderstand"
  67.   }
  68. )

  69. @XmlRootElement(name = "SoapConfiguration")

  70. public class SoapConfiguration extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  71.   public SoapConfiguration() {
  72.     super();
  73.   }

  74.   public Integration getIntegration() {
  75.     return this.integration;
  76.   }

  77.   public void setIntegration(Integration integration) {
  78.     this.integration = integration;
  79.   }

  80.   public IntegrationErrorConfiguration getIntegrationError() {
  81.     return this.integrationError;
  82.   }

  83.   public void setIntegrationError(IntegrationErrorConfiguration integrationError) {
  84.     this.integrationError = integrationError;
  85.   }

  86.   public SoapMediaTypeCollection getMediaTypeCollection() {
  87.     return this.mediaTypeCollection;
  88.   }

  89.   public void setMediaTypeCollection(SoapMediaTypeCollection mediaTypeCollection) {
  90.     this.mediaTypeCollection = mediaTypeCollection;
  91.   }

  92.   public InterfacesConfiguration getInterfaces() {
  93.     return this.interfaces;
  94.   }

  95.   public void setInterfaces(InterfacesConfiguration interfaces) {
  96.     this.interfaces = interfaces;
  97.   }

  98.   public CollaborationProfile getProfile() {
  99.     return this.profile;
  100.   }

  101.   public void setProfile(CollaborationProfile profile) {
  102.     this.profile = profile;
  103.   }

  104.   public Functionality getFunctionality() {
  105.     return this.functionality;
  106.   }

  107.   public void setFunctionality(Functionality functionality) {
  108.     this.functionality = functionality;
  109.   }

  110.   public SoapHeaderBypassMustUnderstand getSoapHeaderBypassMustUnderstand() {
  111.     return this.soapHeaderBypassMustUnderstand;
  112.   }

  113.   public void setSoapHeaderBypassMustUnderstand(SoapHeaderBypassMustUnderstand soapHeaderBypassMustUnderstand) {
  114.     this.soapHeaderBypassMustUnderstand = soapHeaderBypassMustUnderstand;
  115.   }

  116.   public boolean isSoap11() {
  117.     return this.soap11;
  118.   }

  119.   public boolean getSoap11() {
  120.     return this.soap11;
  121.   }

  122.   public void setSoap11(boolean soap11) {
  123.     this.soap11 = soap11;
  124.   }

  125.   public boolean isSoap11WithAttachments() {
  126.     return this.soap11WithAttachments;
  127.   }

  128.   public boolean getSoap11WithAttachments() {
  129.     return this.soap11WithAttachments;
  130.   }

  131.   public void setSoap11WithAttachments(boolean soap11WithAttachments) {
  132.     this.soap11WithAttachments = soap11WithAttachments;
  133.   }

  134.   public boolean isSoap11Mtom() {
  135.     return this.soap11Mtom;
  136.   }

  137.   public boolean getSoap11Mtom() {
  138.     return this.soap11Mtom;
  139.   }

  140.   public void setSoap11Mtom(boolean soap11Mtom) {
  141.     this.soap11Mtom = soap11Mtom;
  142.   }

  143.   public boolean isSoap12() {
  144.     return this.soap12;
  145.   }

  146.   public boolean getSoap12() {
  147.     return this.soap12;
  148.   }

  149.   public void setSoap12(boolean soap12) {
  150.     this.soap12 = soap12;
  151.   }

  152.   public boolean isSoap12WithAttachments() {
  153.     return this.soap12WithAttachments;
  154.   }

  155.   public boolean getSoap12WithAttachments() {
  156.     return this.soap12WithAttachments;
  157.   }

  158.   public void setSoap12WithAttachments(boolean soap12WithAttachments) {
  159.     this.soap12WithAttachments = soap12WithAttachments;
  160.   }

  161.   public boolean isSoap12Mtom() {
  162.     return this.soap12Mtom;
  163.   }

  164.   public boolean getSoap12Mtom() {
  165.     return this.soap12Mtom;
  166.   }

  167.   public void setSoap12Mtom(boolean soap12Mtom) {
  168.     this.soap12Mtom = soap12Mtom;
  169.   }

  170.   private static final long serialVersionUID = 1L;



  171.   @XmlElement(name="integration",required=true,nillable=false)
  172.   protected Integration integration;

  173.   @XmlElement(name="integrationError",required=true,nillable=false)
  174.   protected IntegrationErrorConfiguration integrationError;

  175.   @XmlElement(name="mediaTypeCollection",required=false,nillable=false)
  176.   protected SoapMediaTypeCollection mediaTypeCollection;

  177.   @XmlElement(name="interfaces",required=false,nillable=false)
  178.   protected InterfacesConfiguration interfaces;

  179.   @XmlElement(name="profile",required=false,nillable=false)
  180.   protected CollaborationProfile profile;

  181.   @XmlElement(name="functionality",required=false,nillable=false)
  182.   protected Functionality functionality;

  183.   @XmlElement(name="soapHeaderBypassMustUnderstand",required=false,nillable=false)
  184.   protected SoapHeaderBypassMustUnderstand soapHeaderBypassMustUnderstand;

  185.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  186.   @XmlAttribute(name="soap11",required=true)
  187.   protected boolean soap11;

  188.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  189.   @XmlAttribute(name="soap11_withAttachments",required=false)
  190.   protected boolean soap11WithAttachments = true;

  191.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  192.   @XmlAttribute(name="soap11_mtom",required=false)
  193.   protected boolean soap11Mtom = true;

  194.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  195.   @XmlAttribute(name="soap12",required=true)
  196.   protected boolean soap12;

  197.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  198.   @XmlAttribute(name="soap12_withAttachments",required=false)
  199.   protected boolean soap12WithAttachments = true;

  200.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  201.   @XmlAttribute(name="soap12_mtom",required=false)
  202.   protected boolean soap12Mtom = true;

  203. }