Transaction.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.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for transaction complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="transaction"&gt;
  33.  *      &lt;attribute name="errorProtocol" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  34.  *      &lt;attribute name="envelopeErrorProtocol" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  35.  *      &lt;attribute name="labelErrorProtocol" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  36.  *      &lt;attribute name="externalFault" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  37.  *      &lt;attribute name="labelExternalFault" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  38.  * &lt;/complexType&gt;
  39.  * </pre>
  40.  *
  41.  * @version $Rev$, $Date$
  42.  *
  43.  * @author Poli Andrea (poli@link.it)
  44.  * @author $Author$
  45.  * */

  46. @XmlAccessorType(XmlAccessType.FIELD)
  47. @XmlType(name = "transaction")

  48. @XmlRootElement(name = "transaction")

  49. public class Transaction extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  50.   public Transaction() {
  51.     super();
  52.   }

  53.   public boolean isErrorProtocol() {
  54.     return this.errorProtocol;
  55.   }

  56.   public boolean getErrorProtocol() {
  57.     return this.errorProtocol;
  58.   }

  59.   public void setErrorProtocol(boolean errorProtocol) {
  60.     this.errorProtocol = errorProtocol;
  61.   }

  62.   public boolean isEnvelopeErrorProtocol() {
  63.     return this.envelopeErrorProtocol;
  64.   }

  65.   public boolean getEnvelopeErrorProtocol() {
  66.     return this.envelopeErrorProtocol;
  67.   }

  68.   public void setEnvelopeErrorProtocol(boolean envelopeErrorProtocol) {
  69.     this.envelopeErrorProtocol = envelopeErrorProtocol;
  70.   }

  71.   public java.lang.String getLabelErrorProtocol() {
  72.     return this.labelErrorProtocol;
  73.   }

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

  77.   public boolean isExternalFault() {
  78.     return this.externalFault;
  79.   }

  80.   public boolean getExternalFault() {
  81.     return this.externalFault;
  82.   }

  83.   public void setExternalFault(boolean externalFault) {
  84.     this.externalFault = externalFault;
  85.   }

  86.   public java.lang.String getLabelExternalFault() {
  87.     return this.labelExternalFault;
  88.   }

  89.   public void setLabelExternalFault(java.lang.String labelExternalFault) {
  90.     this.labelExternalFault = labelExternalFault;
  91.   }

  92.   private static final long serialVersionUID = 1L;



  93.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  94.   @XmlAttribute(name="errorProtocol",required=false)
  95.   protected boolean errorProtocol = false;

  96.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  97.   @XmlAttribute(name="envelopeErrorProtocol",required=false)
  98.   protected boolean envelopeErrorProtocol = true;

  99.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  100.   @XmlAttribute(name="labelErrorProtocol",required=false)
  101.   protected java.lang.String labelErrorProtocol;

  102.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  103.   @XmlAttribute(name="externalFault",required=false)
  104.   protected boolean externalFault = false;

  105.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  106.   @XmlAttribute(name="labelExternalFault",required=false)
  107.   protected java.lang.String labelExternalFault;

  108. }