AllarmeRaggruppamento.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.allarmi;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for allarme-raggruppamento complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="allarme-raggruppamento"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  35.  *          &lt;element name="ruolo-porta" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  36.  *          &lt;element name="protocollo" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  37.  *          &lt;element name="fruitore" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  38.  *          &lt;element name="servizio-applicativo-fruitore" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  39.  *          &lt;element name="identificativo-autenticato" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  40.  *          &lt;element name="token" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="erogatore" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  42.  *          &lt;element name="servizio" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  43.  *          &lt;element name="azione" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  44.  *      &lt;/sequence&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 = "allarme-raggruppamento",
  55.   propOrder = {
  56.     "enabled",
  57.     "ruoloPorta",
  58.     "protocollo",
  59.     "fruitore",
  60.     "servizioApplicativoFruitore",
  61.     "identificativoAutenticato",
  62.     "token",
  63.     "erogatore",
  64.     "servizio",
  65.     "azione"
  66.   }
  67. )

  68. @XmlRootElement(name = "allarme-raggruppamento")

  69. public class AllarmeRaggruppamento extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  70.   public AllarmeRaggruppamento() {
  71.     super();
  72.   }

  73.   public boolean isEnabled() {
  74.     return this.enabled;
  75.   }

  76.   public boolean getEnabled() {
  77.     return this.enabled;
  78.   }

  79.   public void setEnabled(boolean enabled) {
  80.     this.enabled = enabled;
  81.   }

  82.   public boolean isRuoloPorta() {
  83.     return this.ruoloPorta;
  84.   }

  85.   public boolean getRuoloPorta() {
  86.     return this.ruoloPorta;
  87.   }

  88.   public void setRuoloPorta(boolean ruoloPorta) {
  89.     this.ruoloPorta = ruoloPorta;
  90.   }

  91.   public boolean isProtocollo() {
  92.     return this.protocollo;
  93.   }

  94.   public boolean getProtocollo() {
  95.     return this.protocollo;
  96.   }

  97.   public void setProtocollo(boolean protocollo) {
  98.     this.protocollo = protocollo;
  99.   }

  100.   public boolean isFruitore() {
  101.     return this.fruitore;
  102.   }

  103.   public boolean getFruitore() {
  104.     return this.fruitore;
  105.   }

  106.   public void setFruitore(boolean fruitore) {
  107.     this.fruitore = fruitore;
  108.   }

  109.   public boolean isServizioApplicativoFruitore() {
  110.     return this.servizioApplicativoFruitore;
  111.   }

  112.   public boolean getServizioApplicativoFruitore() {
  113.     return this.servizioApplicativoFruitore;
  114.   }

  115.   public void setServizioApplicativoFruitore(boolean servizioApplicativoFruitore) {
  116.     this.servizioApplicativoFruitore = servizioApplicativoFruitore;
  117.   }

  118.   public boolean isIdentificativoAutenticato() {
  119.     return this.identificativoAutenticato;
  120.   }

  121.   public boolean getIdentificativoAutenticato() {
  122.     return this.identificativoAutenticato;
  123.   }

  124.   public void setIdentificativoAutenticato(boolean identificativoAutenticato) {
  125.     this.identificativoAutenticato = identificativoAutenticato;
  126.   }

  127.   public java.lang.String getToken() {
  128.     return this.token;
  129.   }

  130.   public void setToken(java.lang.String token) {
  131.     this.token = token;
  132.   }

  133.   public boolean isErogatore() {
  134.     return this.erogatore;
  135.   }

  136.   public boolean getErogatore() {
  137.     return this.erogatore;
  138.   }

  139.   public void setErogatore(boolean erogatore) {
  140.     this.erogatore = erogatore;
  141.   }

  142.   public boolean isServizio() {
  143.     return this.servizio;
  144.   }

  145.   public boolean getServizio() {
  146.     return this.servizio;
  147.   }

  148.   public void setServizio(boolean servizio) {
  149.     this.servizio = servizio;
  150.   }

  151.   public boolean isAzione() {
  152.     return this.azione;
  153.   }

  154.   public boolean getAzione() {
  155.     return this.azione;
  156.   }

  157.   public void setAzione(boolean azione) {
  158.     this.azione = azione;
  159.   }

  160.   private static final long serialVersionUID = 1L;



  161.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  162.   @XmlElement(name="enabled",required=true,nillable=false,defaultValue="false")
  163.   protected boolean enabled = false;

  164.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  165.   @XmlElement(name="ruolo-porta",required=true,nillable=false,defaultValue="false")
  166.   protected boolean ruoloPorta = false;

  167.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  168.   @XmlElement(name="protocollo",required=true,nillable=false,defaultValue="false")
  169.   protected boolean protocollo = false;

  170.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  171.   @XmlElement(name="fruitore",required=true,nillable=false,defaultValue="false")
  172.   protected boolean fruitore = false;

  173.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  174.   @XmlElement(name="servizio-applicativo-fruitore",required=true,nillable=false,defaultValue="false")
  175.   protected boolean servizioApplicativoFruitore = false;

  176.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  177.   @XmlElement(name="identificativo-autenticato",required=true,nillable=false,defaultValue="false")
  178.   protected boolean identificativoAutenticato = false;

  179.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  180.   @XmlElement(name="token",required=false,nillable=false)
  181.   protected java.lang.String token;

  182.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  183.   @XmlElement(name="erogatore",required=true,nillable=false,defaultValue="false")
  184.   protected boolean erogatore = false;

  185.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  186.   @XmlElement(name="servizio",required=true,nillable=false,defaultValue="false")
  187.   protected boolean servizio = false;

  188.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  189.   @XmlElement(name="azione",required=true,nillable=false,defaultValue="false")
  190.   protected boolean azione = false;

  191. }