ValidazioneBuste.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.StatoFunzionalita;
  27. import org.openspcoop2.core.config.constants.StatoFunzionalitaConWarning;
  28. import org.openspcoop2.core.config.constants.ValidazioneBusteTipoControllo;
  29. import java.io.Serializable;


  30. /** <p>Java class for validazione-buste complex type.
  31.  *
  32.  * <p>The following schema fragment specifies the expected content contained within this class.
  33.  *
  34.  * <pre>
  35.  * &lt;complexType name="validazione-buste"&gt;
  36.  *      &lt;attribute name="stato" type="{http://www.openspcoop2.org/core/config}StatoFunzionalitaConWarning" use="optional" default="abilitato"/&gt;
  37.  *      &lt;attribute name="controllo" type="{http://www.openspcoop2.org/core/config}ValidazioneBusteTipoControllo" use="optional" default="normale"/&gt;
  38.  *      &lt;attribute name="profiloCollaborazione" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="disabilitato"/&gt;
  39.  *      &lt;attribute name="manifestAttachments" type="{http://www.openspcoop2.org/core/config}StatoFunzionalita" use="optional" default="abilitato"/&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 = "validazione-buste")

  50. @XmlRootElement(name = "validazione-buste")

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

  55.   public void setStatoRawEnumValue(String value) {
  56.     this.stato = (StatoFunzionalitaConWarning) StatoFunzionalitaConWarning.toEnumConstantFromString(value);
  57.   }

  58.   public String getStatoRawEnumValue() {
  59.     if(this.stato == null){
  60.         return null;
  61.     }else{
  62.         return this.stato.toString();
  63.     }
  64.   }

  65.   public org.openspcoop2.core.config.constants.StatoFunzionalitaConWarning getStato() {
  66.     return this.stato;
  67.   }

  68.   public void setStato(org.openspcoop2.core.config.constants.StatoFunzionalitaConWarning stato) {
  69.     this.stato = stato;
  70.   }

  71.   public void setControlloRawEnumValue(String value) {
  72.     this.controllo = (ValidazioneBusteTipoControllo) ValidazioneBusteTipoControllo.toEnumConstantFromString(value);
  73.   }

  74.   public String getControlloRawEnumValue() {
  75.     if(this.controllo == null){
  76.         return null;
  77.     }else{
  78.         return this.controllo.toString();
  79.     }
  80.   }

  81.   public org.openspcoop2.core.config.constants.ValidazioneBusteTipoControllo getControllo() {
  82.     return this.controllo;
  83.   }

  84.   public void setControllo(org.openspcoop2.core.config.constants.ValidazioneBusteTipoControllo controllo) {
  85.     this.controllo = controllo;
  86.   }

  87.   public void setProfiloCollaborazioneRawEnumValue(String value) {
  88.     this.profiloCollaborazione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  89.   }

  90.   public String getProfiloCollaborazioneRawEnumValue() {
  91.     if(this.profiloCollaborazione == null){
  92.         return null;
  93.     }else{
  94.         return this.profiloCollaborazione.toString();
  95.     }
  96.   }

  97.   public org.openspcoop2.core.config.constants.StatoFunzionalita getProfiloCollaborazione() {
  98.     return this.profiloCollaborazione;
  99.   }

  100.   public void setProfiloCollaborazione(org.openspcoop2.core.config.constants.StatoFunzionalita profiloCollaborazione) {
  101.     this.profiloCollaborazione = profiloCollaborazione;
  102.   }

  103.   public void setManifestAttachmentsRawEnumValue(String value) {
  104.     this.manifestAttachments = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString(value);
  105.   }

  106.   public String getManifestAttachmentsRawEnumValue() {
  107.     if(this.manifestAttachments == null){
  108.         return null;
  109.     }else{
  110.         return this.manifestAttachments.toString();
  111.     }
  112.   }

  113.   public org.openspcoop2.core.config.constants.StatoFunzionalita getManifestAttachments() {
  114.     return this.manifestAttachments;
  115.   }

  116.   public void setManifestAttachments(org.openspcoop2.core.config.constants.StatoFunzionalita manifestAttachments) {
  117.     this.manifestAttachments = manifestAttachments;
  118.   }

  119.   private static final long serialVersionUID = 1L;



  120.   @javax.xml.bind.annotation.XmlTransient
  121.   protected java.lang.String statoRawEnumValue;

  122.   @XmlAttribute(name="stato",required=false)
  123.   protected StatoFunzionalitaConWarning stato = (StatoFunzionalitaConWarning) StatoFunzionalitaConWarning.toEnumConstantFromString("abilitato");

  124.   @javax.xml.bind.annotation.XmlTransient
  125.   protected java.lang.String controlloRawEnumValue;

  126.   @XmlAttribute(name="controllo",required=false)
  127.   protected ValidazioneBusteTipoControllo controllo = (ValidazioneBusteTipoControllo) ValidazioneBusteTipoControllo.toEnumConstantFromString("normale");

  128.   @javax.xml.bind.annotation.XmlTransient
  129.   protected java.lang.String profiloCollaborazioneRawEnumValue;

  130.   @XmlAttribute(name="profiloCollaborazione",required=false)
  131.   protected StatoFunzionalita profiloCollaborazione = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("disabilitato");

  132.   @javax.xml.bind.annotation.XmlTransient
  133.   protected java.lang.String manifestAttachmentsRawEnumValue;

  134.   @XmlAttribute(name="manifestAttachments",required=false)
  135.   protected StatoFunzionalita manifestAttachments = (StatoFunzionalita) StatoFunzionalita.toEnumConstantFromString("abilitato");

  136. }