Eccezione.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.tracciamento;

  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 eccezione complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="eccezione"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="codice" type="{http://www.openspcoop2.org/core/tracciamento}CodiceEccezione" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="contesto-codifica" type="{http://www.openspcoop2.org/core/tracciamento}ContestoCodificaEccezione" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="rilevanza" type="{http://www.openspcoop2.org/core/tracciamento}RilevanzaEccezione" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="modulo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" 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 = "eccezione",
  50.   propOrder = {
  51.     "codice",
  52.     "contestoCodifica",
  53.     "descrizione",
  54.     "rilevanza",
  55.     "modulo"
  56.   }
  57. )

  58. @XmlRootElement(name = "eccezione")

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

  63.   public CodiceEccezione getCodice() {
  64.     return this.codice;
  65.   }

  66.   public void setCodice(CodiceEccezione codice) {
  67.     this.codice = codice;
  68.   }

  69.   public ContestoCodificaEccezione getContestoCodifica() {
  70.     return this.contestoCodifica;
  71.   }

  72.   public void setContestoCodifica(ContestoCodificaEccezione contestoCodifica) {
  73.     this.contestoCodifica = contestoCodifica;
  74.   }

  75.   public java.lang.String getDescrizione() {
  76.     return this.descrizione;
  77.   }

  78.   public void setDescrizione(java.lang.String descrizione) {
  79.     this.descrizione = descrizione;
  80.   }

  81.   public RilevanzaEccezione getRilevanza() {
  82.     return this.rilevanza;
  83.   }

  84.   public void setRilevanza(RilevanzaEccezione rilevanza) {
  85.     this.rilevanza = rilevanza;
  86.   }

  87.   public java.lang.String getModulo() {
  88.     return this.modulo;
  89.   }

  90.   public void setModulo(java.lang.String modulo) {
  91.     this.modulo = modulo;
  92.   }

  93.   private static final long serialVersionUID = 1L;



  94.   @XmlElement(name="codice",required=false,nillable=false)
  95.   protected CodiceEccezione codice;

  96.   @XmlElement(name="contesto-codifica",required=false,nillable=false)
  97.   protected ContestoCodificaEccezione contestoCodifica;

  98.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  99.   @XmlElement(name="descrizione",required=false,nillable=false)
  100.   protected java.lang.String descrizione;

  101.   @XmlElement(name="rilevanza",required=false,nillable=false)
  102.   protected RilevanzaEccezione rilevanza;

  103.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  104.   @XmlElement(name="modulo",required=false,nillable=false)
  105.   protected java.lang.String modulo;

  106. }