GestioneErroreCodiceTrasporto.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-codice-trasporto 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-codice-trasporto"&gt;
  34.  *      &lt;attribute name="valore-minimo" type="{http://www.w3.org/2001/XMLSchema}integer" use="optional"/&gt;
  35.  *      &lt;attribute name="valore-massimo" type="{http://www.w3.org/2001/XMLSchema}integer" use="optional"/&gt;
  36.  *      &lt;attribute name="comportamento" type="{http://www.openspcoop2.org/core/config}GestioneErroreComportamento" use="required"/&gt;
  37.  *      &lt;attribute name="cadenza-rispedizione" 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 = "gestione-errore-codice-trasporto")

  48. @XmlRootElement(name = "gestione-errore-codice-trasporto")

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

  53.   public java.lang.Integer getValoreMinimo() {
  54.     return this.valoreMinimo;
  55.   }

  56.   public void setValoreMinimo(java.lang.Integer valoreMinimo) {
  57.     this.valoreMinimo = valoreMinimo;
  58.   }

  59.   public java.lang.Integer getValoreMassimo() {
  60.     return this.valoreMassimo;
  61.   }

  62.   public void setValoreMassimo(java.lang.Integer valoreMassimo) {
  63.     this.valoreMassimo = valoreMassimo;
  64.   }

  65.   public void setComportamentoRawEnumValue(String value) {
  66.     this.comportamento = (GestioneErroreComportamento) GestioneErroreComportamento.toEnumConstantFromString(value);
  67.   }

  68.   public String getComportamentoRawEnumValue() {
  69.     if(this.comportamento == null){
  70.         return null;
  71.     }else{
  72.         return this.comportamento.toString();
  73.     }
  74.   }

  75.   public org.openspcoop2.core.config.constants.GestioneErroreComportamento getComportamento() {
  76.     return this.comportamento;
  77.   }

  78.   public void setComportamento(org.openspcoop2.core.config.constants.GestioneErroreComportamento comportamento) {
  79.     this.comportamento = comportamento;
  80.   }

  81.   public java.lang.String getCadenzaRispedizione() {
  82.     return this.cadenzaRispedizione;
  83.   }

  84.   public void setCadenzaRispedizione(java.lang.String cadenzaRispedizione) {
  85.     this.cadenzaRispedizione = cadenzaRispedizione;
  86.   }

  87.   private static final long serialVersionUID = 1L;



  88.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  89.   @XmlAttribute(name="valore-minimo",required=false)
  90.   protected java.lang.Integer valoreMinimo;

  91.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  92.   @XmlAttribute(name="valore-massimo",required=false)
  93.   protected java.lang.Integer valoreMassimo;

  94.   @javax.xml.bind.annotation.XmlTransient
  95.   protected java.lang.String comportamentoRawEnumValue;

  96.   @XmlAttribute(name="comportamento",required=true)
  97.   protected GestioneErroreComportamento comportamento;

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

  101. }