ProprietaRequisitoInput.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.information_missing;

  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.XmlElement;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlType;
  27. import org.openspcoop2.protocol.information_missing.constants.ProprietaRequisitoInputType;
  28. import java.io.Serializable;


  29. /** <p>Java class for ProprietaRequisitoInput complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="ProprietaRequisitoInput"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="conditions" type="{http://www.openspcoop2.org/protocol/information_missing}ConditionsType" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="header" type="{http://www.openspcoop2.org/protocol/information_missing}Description" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="footer" type="{http://www.openspcoop2.org/protocol/information_missing}Description" minOccurs="0" maxOccurs="1"/&gt;
  39.  *      &lt;/sequence&gt;
  40.  *      &lt;attribute name="tipo" type="{http://www.openspcoop2.org/protocol/information_missing}ProprietaRequisitoInputType" use="required"/&gt;
  41.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  42.  *      &lt;attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  43.  *      &lt;attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  44.  *      &lt;attribute name="use-in-delete" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="true"/&gt;
  45.  *      &lt;attribute name="step-increment-condition" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  46.  *      &lt;attribute name="step-increment" type="{http://www.w3.org/2001/XMLSchema}int" use="optional" default="1"/&gt;
  47.  *      &lt;attribute name="reload-on-change" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  48.  * &lt;/complexType&gt;
  49.  * </pre>
  50.  *
  51.  * @version $Rev$, $Date$
  52.  *
  53.  * @author Poli Andrea (poli@link.it)
  54.  * @author $Author$
  55.  * */

  56. @XmlAccessorType(XmlAccessType.FIELD)
  57. @XmlType(name = "ProprietaRequisitoInput",
  58.   propOrder = {
  59.     "conditions",
  60.     "header",
  61.     "footer"
  62.   }
  63. )

  64. @XmlRootElement(name = "ProprietaRequisitoInput")

  65. public class ProprietaRequisitoInput extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  66.   public ProprietaRequisitoInput() {
  67.     super();
  68.   }

  69.   public ConditionsType getConditions() {
  70.     return this.conditions;
  71.   }

  72.   public void setConditions(ConditionsType conditions) {
  73.     this.conditions = conditions;
  74.   }

  75.   public Description getHeader() {
  76.     return this.header;
  77.   }

  78.   public void setHeader(Description header) {
  79.     this.header = header;
  80.   }

  81.   public Description getFooter() {
  82.     return this.footer;
  83.   }

  84.   public void setFooter(Description footer) {
  85.     this.footer = footer;
  86.   }

  87.   public void setTipoRawEnumValue(String value) {
  88.     this.tipo = (ProprietaRequisitoInputType) ProprietaRequisitoInputType.toEnumConstantFromString(value);
  89.   }

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

  97.   public org.openspcoop2.protocol.information_missing.constants.ProprietaRequisitoInputType getTipo() {
  98.     return this.tipo;
  99.   }

  100.   public void setTipo(org.openspcoop2.protocol.information_missing.constants.ProprietaRequisitoInputType tipo) {
  101.     this.tipo = tipo;
  102.   }

  103.   public java.lang.String getNome() {
  104.     return this.nome;
  105.   }

  106.   public void setNome(java.lang.String nome) {
  107.     this.nome = nome;
  108.   }

  109.   public java.lang.String getLabel() {
  110.     return this.label;
  111.   }

  112.   public void setLabel(java.lang.String label) {
  113.     this.label = label;
  114.   }

  115.   public java.lang.String getDefault() {
  116.     return this._default;
  117.   }

  118.   public void setDefault(java.lang.String _default) {
  119.     this._default = _default;
  120.   }

  121.   public boolean isUseInDelete() {
  122.     return this.useInDelete;
  123.   }

  124.   public boolean getUseInDelete() {
  125.     return this.useInDelete;
  126.   }

  127.   public void setUseInDelete(boolean useInDelete) {
  128.     this.useInDelete = useInDelete;
  129.   }

  130.   public java.lang.String getStepIncrementCondition() {
  131.     return this.stepIncrementCondition;
  132.   }

  133.   public void setStepIncrementCondition(java.lang.String stepIncrementCondition) {
  134.     this.stepIncrementCondition = stepIncrementCondition;
  135.   }

  136.   public int getStepIncrement() {
  137.     return this.stepIncrement;
  138.   }

  139.   public void setStepIncrement(int stepIncrement) {
  140.     this.stepIncrement = stepIncrement;
  141.   }

  142.   public boolean isReloadOnChange() {
  143.     return this.reloadOnChange;
  144.   }

  145.   public boolean getReloadOnChange() {
  146.     return this.reloadOnChange;
  147.   }

  148.   public void setReloadOnChange(boolean reloadOnChange) {
  149.     this.reloadOnChange = reloadOnChange;
  150.   }

  151.   private static final long serialVersionUID = 1L;



  152.   @XmlElement(name="conditions",required=false,nillable=false)
  153.   protected ConditionsType conditions;

  154.   @XmlElement(name="header",required=false,nillable=false)
  155.   protected Description header;

  156.   @XmlElement(name="footer",required=false,nillable=false)
  157.   protected Description footer;

  158.   @javax.xml.bind.annotation.XmlTransient
  159.   protected java.lang.String tipoRawEnumValue;

  160.   @XmlAttribute(name="tipo",required=true)
  161.   protected ProprietaRequisitoInputType tipo;

  162.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  163.   @XmlAttribute(name="nome",required=true)
  164.   protected java.lang.String nome;

  165.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  166.   @XmlAttribute(name="label",required=false)
  167.   protected java.lang.String label;

  168.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  169.   @XmlAttribute(name="default",required=false)
  170.   protected java.lang.String _default;

  171.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  172.   @XmlAttribute(name="use-in-delete",required=false)
  173.   protected boolean useInDelete = true;

  174.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  175.   @XmlAttribute(name="step-increment-condition",required=false)
  176.   protected java.lang.String stepIncrementCondition;

  177.   @javax.xml.bind.annotation.XmlSchemaType(name="int")
  178.   @XmlAttribute(name="step-increment",required=false)
  179.   protected int stepIncrement = 1;

  180.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  181.   @XmlAttribute(name="reload-on-change",required=false)
  182.   protected boolean reloadOnChange = false;

  183. }