TrasformazioneSoap.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.config;

  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.config.constants.VersioneSOAP;
  28. import java.io.Serializable;


  29. /** <p>Java class for trasformazione-soap complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="trasformazione-soap"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="envelope-body-conversione-template" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0" maxOccurs="1"/&gt;
  37.  *      &lt;/sequence&gt;
  38.  *      &lt;attribute name="envelope" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  39.  *      &lt;attribute name="versione" type="{http://www.openspcoop2.org/core/config}VersioneSOAP" use="optional"/&gt;
  40.  *      &lt;attribute name="soap-action" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  41.  *      &lt;attribute name="envelope-as-attachment" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  42.  *      &lt;attribute name="envelope-body-conversione-tipo" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  43.  * &lt;/complexType&gt;
  44.  * </pre>
  45.  *
  46.  * @version $Rev$, $Date$
  47.  *
  48.  * @author Poli Andrea (poli@link.it)
  49.  * @author $Author$
  50.  * */

  51. @XmlAccessorType(XmlAccessType.FIELD)
  52. @XmlType(name = "trasformazione-soap",
  53.   propOrder = {
  54.     "envelopeBodyConversioneTemplate"
  55.   }
  56. )

  57. @XmlRootElement(name = "trasformazione-soap")

  58. public class TrasformazioneSoap extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  59.   public TrasformazioneSoap() {
  60.     super();
  61.   }

  62.   public byte[] getEnvelopeBodyConversioneTemplate() {
  63.     return this.envelopeBodyConversioneTemplate;
  64.   }

  65.   public void setEnvelopeBodyConversioneTemplate(byte[] envelopeBodyConversioneTemplate) {
  66.     this.envelopeBodyConversioneTemplate = envelopeBodyConversioneTemplate;
  67.   }

  68.   public boolean isEnvelope() {
  69.     return this.envelope;
  70.   }

  71.   public boolean getEnvelope() {
  72.     return this.envelope;
  73.   }

  74.   public void setEnvelope(boolean envelope) {
  75.     this.envelope = envelope;
  76.   }

  77.   public void setVersioneRawEnumValue(String value) {
  78.     this.versione = (VersioneSOAP) VersioneSOAP.toEnumConstantFromString(value);
  79.   }

  80.   public String getVersioneRawEnumValue() {
  81.     if(this.versione == null){
  82.         return null;
  83.     }else{
  84.         return this.versione.toString();
  85.     }
  86.   }

  87.   public org.openspcoop2.core.config.constants.VersioneSOAP getVersione() {
  88.     return this.versione;
  89.   }

  90.   public void setVersione(org.openspcoop2.core.config.constants.VersioneSOAP versione) {
  91.     this.versione = versione;
  92.   }

  93.   public java.lang.String getSoapAction() {
  94.     return this.soapAction;
  95.   }

  96.   public void setSoapAction(java.lang.String soapAction) {
  97.     this.soapAction = soapAction;
  98.   }

  99.   public boolean isEnvelopeAsAttachment() {
  100.     return this.envelopeAsAttachment;
  101.   }

  102.   public boolean getEnvelopeAsAttachment() {
  103.     return this.envelopeAsAttachment;
  104.   }

  105.   public void setEnvelopeAsAttachment(boolean envelopeAsAttachment) {
  106.     this.envelopeAsAttachment = envelopeAsAttachment;
  107.   }

  108.   public java.lang.String getEnvelopeBodyConversioneTipo() {
  109.     return this.envelopeBodyConversioneTipo;
  110.   }

  111.   public void setEnvelopeBodyConversioneTipo(java.lang.String envelopeBodyConversioneTipo) {
  112.     this.envelopeBodyConversioneTipo = envelopeBodyConversioneTipo;
  113.   }

  114.   private static final long serialVersionUID = 1L;



  115.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  116.   @XmlElement(name="envelope-body-conversione-template",required=false,nillable=false)
  117.   protected byte[] envelopeBodyConversioneTemplate;

  118.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  119.   @XmlAttribute(name="envelope",required=false)
  120.   protected boolean envelope = true;

  121.   @javax.xml.bind.annotation.XmlTransient
  122.   protected java.lang.String versioneRawEnumValue;

  123.   @XmlAttribute(name="versione",required=false)
  124.   protected VersioneSOAP versione;

  125.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  126.   @XmlAttribute(name="soap-action",required=false)
  127.   protected java.lang.String soapAction;

  128.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  129.   @XmlAttribute(name="envelope-as-attachment",required=false)
  130.   protected boolean envelopeAsAttachment = false;

  131.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  132.   @XmlAttribute(name="envelope-body-conversione-tipo",required=false)
  133.   protected java.lang.String envelopeBodyConversioneTipo;

  134. }