ServizioApplicativo.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.ServizioApplicativoReplaceType;
  28. import java.io.Serializable;


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

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

  63. @XmlRootElement(name = "ServizioApplicativo")

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

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

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

  74.   public ReplaceMatchType getReplaceMatch() {
  75.     return this.replaceMatch;
  76.   }

  77.   public void setReplaceMatch(ReplaceMatchType replaceMatch) {
  78.     this.replaceMatch = replaceMatch;
  79.   }

  80.   public Description getHeader() {
  81.     return this.header;
  82.   }

  83.   public void setHeader(Description header) {
  84.     this.header = header;
  85.   }

  86.   public Description getFooter() {
  87.     return this.footer;
  88.   }

  89.   public void setFooter(Description footer) {
  90.     this.footer = footer;
  91.   }

  92.   public Default getDefault() {
  93.     return this._default;
  94.   }

  95.   public void setDefault(Default _default) {
  96.     this._default = _default;
  97.   }

  98.   public java.lang.String getDescrizione() {
  99.     return this.descrizione;
  100.   }

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

  104.   public void setTipoRawEnumValue(String value) {
  105.     this.tipo = (ServizioApplicativoReplaceType) ServizioApplicativoReplaceType.toEnumConstantFromString(value);
  106.   }

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

  114.   public org.openspcoop2.protocol.information_missing.constants.ServizioApplicativoReplaceType getTipo() {
  115.     return this.tipo;
  116.   }

  117.   public void setTipo(org.openspcoop2.protocol.information_missing.constants.ServizioApplicativoReplaceType tipo) {
  118.     this.tipo = tipo;
  119.   }

  120.   public java.lang.String getProtocollo() {
  121.     return this.protocollo;
  122.   }

  123.   public void setProtocollo(java.lang.String protocollo) {
  124.     this.protocollo = protocollo;
  125.   }

  126.   private static final long serialVersionUID = 1L;



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

  129.   @XmlElement(name="replace-match",required=true,nillable=false)
  130.   protected ReplaceMatchType replaceMatch;

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

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

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

  137.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  138.   @XmlAttribute(name="descrizione",required=true)
  139.   protected java.lang.String descrizione;

  140.   @javax.xml.bind.annotation.XmlTransient
  141.   protected java.lang.String tipoRawEnumValue;

  142.   @XmlAttribute(name="tipo",required=true)
  143.   protected ServizioApplicativoReplaceType tipo;

  144.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  145.   @XmlAttribute(name="protocollo",required=false)
  146.   protected java.lang.String protocollo;

  147. }