ConfigurazioneStatistica.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.monitor.engine.config.statistiche;

  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 configurazione-statistica complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="configurazione-statistica"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="id-configurazione-statistica" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  35.  *          &lt;element name="id-configurazione-servizio-azione" type="{http://www.openspcoop2.org/monitor/engine/config/statistiche}id-configurazione-servizio-azione" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="plugin" type="{http://www.openspcoop2.org/monitor/engine/config/statistiche}info-plugin" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  39.  *      &lt;/sequence&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 = "configurazione-statistica",
  50.   propOrder = {
  51.     "idConfigurazioneStatistica",
  52.     "idConfigurazioneServizioAzione",
  53.     "enabled",
  54.     "plugin",
  55.     "label"
  56.   }
  57. )

  58. @XmlRootElement(name = "configurazione-statistica")

  59. public class ConfigurazioneStatistica extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  60.   public ConfigurazioneStatistica() {
  61.     super();
  62.   }

  63.   public java.lang.String getIdConfigurazioneStatistica() {
  64.     return this.idConfigurazioneStatistica;
  65.   }

  66.   public void setIdConfigurazioneStatistica(java.lang.String idConfigurazioneStatistica) {
  67.     this.idConfigurazioneStatistica = idConfigurazioneStatistica;
  68.   }

  69.   public IdConfigurazioneServizioAzione getIdConfigurazioneServizioAzione() {
  70.     return this.idConfigurazioneServizioAzione;
  71.   }

  72.   public void setIdConfigurazioneServizioAzione(IdConfigurazioneServizioAzione idConfigurazioneServizioAzione) {
  73.     this.idConfigurazioneServizioAzione = idConfigurazioneServizioAzione;
  74.   }

  75.   public boolean isEnabled() {
  76.     return this.enabled;
  77.   }

  78.   public boolean getEnabled() {
  79.     return this.enabled;
  80.   }

  81.   public void setEnabled(boolean enabled) {
  82.     this.enabled = enabled;
  83.   }

  84.   public InfoPlugin getPlugin() {
  85.     return this.plugin;
  86.   }

  87.   public void setPlugin(InfoPlugin plugin) {
  88.     this.plugin = plugin;
  89.   }

  90.   public java.lang.String getLabel() {
  91.     return this.label;
  92.   }

  93.   public void setLabel(java.lang.String label) {
  94.     this.label = label;
  95.   }

  96.   private static final long serialVersionUID = 1L;

  97.   private static org.openspcoop2.monitor.engine.config.statistiche.model.ConfigurazioneStatisticaModel modelStaticInstance = null;
  98.   private static synchronized void initModelStaticInstance(){
  99.       if(org.openspcoop2.monitor.engine.config.statistiche.ConfigurazioneStatistica.modelStaticInstance==null){
  100.             org.openspcoop2.monitor.engine.config.statistiche.ConfigurazioneStatistica.modelStaticInstance = new org.openspcoop2.monitor.engine.config.statistiche.model.ConfigurazioneStatisticaModel();
  101.       }
  102.   }
  103.   public static org.openspcoop2.monitor.engine.config.statistiche.model.ConfigurazioneStatisticaModel model(){
  104.       if(org.openspcoop2.monitor.engine.config.statistiche.ConfigurazioneStatistica.modelStaticInstance==null){
  105.             initModelStaticInstance();
  106.       }
  107.       return org.openspcoop2.monitor.engine.config.statistiche.ConfigurazioneStatistica.modelStaticInstance;
  108.   }


  109.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  110.   @XmlElement(name="id-configurazione-statistica",required=true,nillable=false)
  111.   protected java.lang.String idConfigurazioneStatistica;

  112.   @XmlElement(name="id-configurazione-servizio-azione",required=true,nillable=false)
  113.   protected IdConfigurazioneServizioAzione idConfigurazioneServizioAzione;

  114.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  115.   @XmlElement(name="enabled",required=true,nillable=false)
  116.   protected boolean enabled;

  117.   @XmlElement(name="plugin",required=true,nillable=false)
  118.   protected InfoPlugin plugin;

  119.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  120.   @XmlElement(name="label",required=true,nillable=false)
  121.   protected java.lang.String label;

  122. }