Fruitore.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.FruitoreReplaceType;
  28. import org.openspcoop2.protocol.information_missing.constants.StatoType;
  29. import java.io.Serializable;


  30. /** <p>Java class for Fruitore complex type.
  31.  *
  32.  * <p>The following schema fragment specifies the expected content contained within this class.
  33.  *
  34.  * <pre>
  35.  * &lt;complexType name="Fruitore"&gt;
  36.  *      &lt;sequence&gt;
  37.  *          &lt;element name="conditions" type="{http://www.openspcoop2.org/protocol/information_missing}ConditionsType" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="replace-match" type="{http://www.openspcoop2.org/protocol/information_missing}replaceFruitoreMatchType" minOccurs="1" maxOccurs="1"/&gt;
  39.  *          &lt;element name="header" type="{http://www.openspcoop2.org/protocol/information_missing}Description" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="footer" type="{http://www.openspcoop2.org/protocol/information_missing}Description" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="default" type="{http://www.openspcoop2.org/protocol/information_missing}Default" minOccurs="0" maxOccurs="1"/&gt;
  42.  *      &lt;/sequence&gt;
  43.  *      &lt;attribute name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  44.  *      &lt;attribute name="tipo" type="{http://www.openspcoop2.org/protocol/information_missing}FruitoreReplaceType" use="required"/&gt;
  45.  *      &lt;attribute name="stato" type="{http://www.openspcoop2.org/protocol/information_missing}statoType" use="optional"/&gt;
  46.  *      &lt;attribute name="protocollo" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  47.  * &lt;/complexType&gt;
  48.  * </pre>
  49.  *
  50.  * @version $Rev$, $Date$
  51.  *
  52.  * @author Poli Andrea (poli@link.it)
  53.  * @author $Author$
  54.  * */

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

  65. @XmlRootElement(name = "Fruitore")

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

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

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

  76.   public ReplaceFruitoreMatchType getReplaceMatch() {
  77.     return this.replaceMatch;
  78.   }

  79.   public void setReplaceMatch(ReplaceFruitoreMatchType replaceMatch) {
  80.     this.replaceMatch = replaceMatch;
  81.   }

  82.   public Description getHeader() {
  83.     return this.header;
  84.   }

  85.   public void setHeader(Description header) {
  86.     this.header = header;
  87.   }

  88.   public Description getFooter() {
  89.     return this.footer;
  90.   }

  91.   public void setFooter(Description footer) {
  92.     this.footer = footer;
  93.   }

  94.   public Default getDefault() {
  95.     return this._default;
  96.   }

  97.   public void setDefault(Default _default) {
  98.     this._default = _default;
  99.   }

  100.   public java.lang.String getDescrizione() {
  101.     return this.descrizione;
  102.   }

  103.   public void setDescrizione(java.lang.String descrizione) {
  104.     this.descrizione = descrizione;
  105.   }

  106.   public void setTipoRawEnumValue(String value) {
  107.     this.tipo = (FruitoreReplaceType) FruitoreReplaceType.toEnumConstantFromString(value);
  108.   }

  109.   public String getTipoRawEnumValue() {
  110.     if(this.tipo == null){
  111.         return null;
  112.     }else{
  113.         return this.tipo.toString();
  114.     }
  115.   }

  116.   public org.openspcoop2.protocol.information_missing.constants.FruitoreReplaceType getTipo() {
  117.     return this.tipo;
  118.   }

  119.   public void setTipo(org.openspcoop2.protocol.information_missing.constants.FruitoreReplaceType tipo) {
  120.     this.tipo = tipo;
  121.   }

  122.   public void setStatoRawEnumValue(String value) {
  123.     this.stato = (StatoType) StatoType.toEnumConstantFromString(value);
  124.   }

  125.   public String getStatoRawEnumValue() {
  126.     if(this.stato == null){
  127.         return null;
  128.     }else{
  129.         return this.stato.toString();
  130.     }
  131.   }

  132.   public org.openspcoop2.protocol.information_missing.constants.StatoType getStato() {
  133.     return this.stato;
  134.   }

  135.   public void setStato(org.openspcoop2.protocol.information_missing.constants.StatoType stato) {
  136.     this.stato = stato;
  137.   }

  138.   public java.lang.String getProtocollo() {
  139.     return this.protocollo;
  140.   }

  141.   public void setProtocollo(java.lang.String protocollo) {
  142.     this.protocollo = protocollo;
  143.   }

  144.   private static final long serialVersionUID = 1L;



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

  147.   @XmlElement(name="replace-match",required=true,nillable=false)
  148.   protected ReplaceFruitoreMatchType replaceMatch;

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

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

  153.   @XmlElement(name="default",required=false,nillable=false)
  154.   protected Default _default;

  155.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  156.   @XmlAttribute(name="descrizione",required=true)
  157.   protected java.lang.String descrizione;

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

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

  162.   @javax.xml.bind.annotation.XmlTransient
  163.   protected java.lang.String statoRawEnumValue;

  164.   @XmlAttribute(name="stato",required=false)
  165.   protected StatoType stato;

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

  169. }