GestioneErroreSoapFault.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.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import org.openspcoop2.core.config.constants.GestioneErroreComportamento;
  27. import java.io.Serializable;


  28. /** <p>Java class for gestione-errore-soap-fault complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="gestione-errore-soap-fault"&gt;
  34.  *      &lt;attribute name="fault-actor" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  35.  *      &lt;attribute name="fault-code" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  36.  *      &lt;attribute name="fault-string" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  37.  *      &lt;attribute name="comportamento" type="{http://www.openspcoop2.org/core/config}GestioneErroreComportamento" use="required"/&gt;
  38.  *      &lt;attribute name="cadenza-rispedizione" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  39.  * &lt;/complexType&gt;
  40.  * </pre>
  41.  *
  42.  * @version $Rev$, $Date$
  43.  *
  44.  * @author Poli Andrea (poli@link.it)
  45.  * @author $Author$
  46.  * */

  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "gestione-errore-soap-fault")

  49. @XmlRootElement(name = "gestione-errore-soap-fault")

  50. public class GestioneErroreSoapFault extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  51.   public GestioneErroreSoapFault() {
  52.     super();
  53.   }

  54.   public java.lang.String getFaultActor() {
  55.     return this.faultActor;
  56.   }

  57.   public void setFaultActor(java.lang.String faultActor) {
  58.     this.faultActor = faultActor;
  59.   }

  60.   public java.lang.String getFaultCode() {
  61.     return this.faultCode;
  62.   }

  63.   public void setFaultCode(java.lang.String faultCode) {
  64.     this.faultCode = faultCode;
  65.   }

  66.   public java.lang.String getFaultString() {
  67.     return this.faultString;
  68.   }

  69.   public void setFaultString(java.lang.String faultString) {
  70.     this.faultString = faultString;
  71.   }

  72.   public void setComportamentoRawEnumValue(String value) {
  73.     this.comportamento = (GestioneErroreComportamento) GestioneErroreComportamento.toEnumConstantFromString(value);
  74.   }

  75.   public String getComportamentoRawEnumValue() {
  76.     if(this.comportamento == null){
  77.         return null;
  78.     }else{
  79.         return this.comportamento.toString();
  80.     }
  81.   }

  82.   public org.openspcoop2.core.config.constants.GestioneErroreComportamento getComportamento() {
  83.     return this.comportamento;
  84.   }

  85.   public void setComportamento(org.openspcoop2.core.config.constants.GestioneErroreComportamento comportamento) {
  86.     this.comportamento = comportamento;
  87.   }

  88.   public java.lang.String getCadenzaRispedizione() {
  89.     return this.cadenzaRispedizione;
  90.   }

  91.   public void setCadenzaRispedizione(java.lang.String cadenzaRispedizione) {
  92.     this.cadenzaRispedizione = cadenzaRispedizione;
  93.   }

  94.   private static final long serialVersionUID = 1L;



  95.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  96.   @XmlAttribute(name="fault-actor",required=false)
  97.   protected java.lang.String faultActor;

  98.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  99.   @XmlAttribute(name="fault-code",required=false)
  100.   protected java.lang.String faultCode;

  101.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  102.   @XmlAttribute(name="fault-string",required=false)
  103.   protected java.lang.String faultString;

  104.   @javax.xml.bind.annotation.XmlTransient
  105.   protected java.lang.String comportamentoRawEnumValue;

  106.   @XmlAttribute(name="comportamento",required=true)
  107.   protected GestioneErroreComportamento comportamento;

  108.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  109.   @XmlAttribute(name="cadenza-rispedizione",required=false)
  110.   protected java.lang.String cadenzaRispedizione;

  111. }