ConfigurazioneControlloTraffico.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.controllo_traffico;

  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-controllo-traffico 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-controllo-traffico"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="controllo-max-threads-enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="true"/&gt;
  35.  *          &lt;element name="controllo-max-threads-warning-only" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  36.  *          &lt;element name="controllo-max-threads-soglia" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="controllo-max-threads-tipo-errore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1" default="fault"/&gt;
  38.  *          &lt;element name="controllo-max-threads-tipo-errore-includi-descrizione" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="true"/&gt;
  39.  *          &lt;element name="controllo-congestione-enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  40.  *          &lt;element name="controllo-congestione-threshold" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0" maxOccurs="1"/&gt;
  41.  *      &lt;/sequence&gt;
  42.  * &lt;/complexType&gt;
  43.  * </pre>
  44.  *
  45.  * @version $Rev$, $Date$
  46.  *
  47.  * @author Poli Andrea (poli@link.it)
  48.  * @author $Author$
  49.  * */

  50. @XmlAccessorType(XmlAccessType.FIELD)
  51. @XmlType(name = "configurazione-controllo-traffico",
  52.   propOrder = {
  53.     "controlloMaxThreadsEnabled",
  54.     "controlloMaxThreadsWarningOnly",
  55.     "controlloMaxThreadsSoglia",
  56.     "controlloMaxThreadsTipoErrore",
  57.     "controlloMaxThreadsTipoErroreIncludiDescrizione",
  58.     "controlloCongestioneEnabled",
  59.     "controlloCongestioneThreshold"
  60.   }
  61. )

  62. @XmlRootElement(name = "configurazione-controllo-traffico")

  63. public class ConfigurazioneControlloTraffico extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  64.   public ConfigurazioneControlloTraffico() {
  65.     super();
  66.   }

  67.   public boolean isControlloMaxThreadsEnabled() {
  68.     return this.controlloMaxThreadsEnabled;
  69.   }

  70.   public boolean getControlloMaxThreadsEnabled() {
  71.     return this.controlloMaxThreadsEnabled;
  72.   }

  73.   public void setControlloMaxThreadsEnabled(boolean controlloMaxThreadsEnabled) {
  74.     this.controlloMaxThreadsEnabled = controlloMaxThreadsEnabled;
  75.   }

  76.   public boolean isControlloMaxThreadsWarningOnly() {
  77.     return this.controlloMaxThreadsWarningOnly;
  78.   }

  79.   public boolean getControlloMaxThreadsWarningOnly() {
  80.     return this.controlloMaxThreadsWarningOnly;
  81.   }

  82.   public void setControlloMaxThreadsWarningOnly(boolean controlloMaxThreadsWarningOnly) {
  83.     this.controlloMaxThreadsWarningOnly = controlloMaxThreadsWarningOnly;
  84.   }

  85.   public java.lang.Long getControlloMaxThreadsSoglia() {
  86.     return this.controlloMaxThreadsSoglia;
  87.   }

  88.   public void setControlloMaxThreadsSoglia(java.lang.Long controlloMaxThreadsSoglia) {
  89.     this.controlloMaxThreadsSoglia = controlloMaxThreadsSoglia;
  90.   }

  91.   public java.lang.String getControlloMaxThreadsTipoErrore() {
  92.     return this.controlloMaxThreadsTipoErrore;
  93.   }

  94.   public void setControlloMaxThreadsTipoErrore(java.lang.String controlloMaxThreadsTipoErrore) {
  95.     this.controlloMaxThreadsTipoErrore = controlloMaxThreadsTipoErrore;
  96.   }

  97.   public boolean isControlloMaxThreadsTipoErroreIncludiDescrizione() {
  98.     return this.controlloMaxThreadsTipoErroreIncludiDescrizione;
  99.   }

  100.   public boolean getControlloMaxThreadsTipoErroreIncludiDescrizione() {
  101.     return this.controlloMaxThreadsTipoErroreIncludiDescrizione;
  102.   }

  103.   public void setControlloMaxThreadsTipoErroreIncludiDescrizione(boolean controlloMaxThreadsTipoErroreIncludiDescrizione) {
  104.     this.controlloMaxThreadsTipoErroreIncludiDescrizione = controlloMaxThreadsTipoErroreIncludiDescrizione;
  105.   }

  106.   public boolean isControlloCongestioneEnabled() {
  107.     return this.controlloCongestioneEnabled;
  108.   }

  109.   public boolean getControlloCongestioneEnabled() {
  110.     return this.controlloCongestioneEnabled;
  111.   }

  112.   public void setControlloCongestioneEnabled(boolean controlloCongestioneEnabled) {
  113.     this.controlloCongestioneEnabled = controlloCongestioneEnabled;
  114.   }

  115.   public java.lang.Integer getControlloCongestioneThreshold() {
  116.     return this.controlloCongestioneThreshold;
  117.   }

  118.   public void setControlloCongestioneThreshold(java.lang.Integer controlloCongestioneThreshold) {
  119.     this.controlloCongestioneThreshold = controlloCongestioneThreshold;
  120.   }

  121.   private static final long serialVersionUID = 1L;



  122.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  123.   @XmlElement(name="controllo-max-threads-enabled",required=true,nillable=false,defaultValue="true")
  124.   protected boolean controlloMaxThreadsEnabled = true;

  125.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  126.   @XmlElement(name="controllo-max-threads-warning-only",required=true,nillable=false,defaultValue="false")
  127.   protected boolean controlloMaxThreadsWarningOnly = false;

  128.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  129.   @XmlElement(name="controllo-max-threads-soglia",required=true,nillable=false)
  130.   protected java.lang.Long controlloMaxThreadsSoglia;

  131.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  132.   @XmlElement(name="controllo-max-threads-tipo-errore",required=true,nillable=false,defaultValue="fault")
  133.   protected java.lang.String controlloMaxThreadsTipoErrore = "fault";

  134.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  135.   @XmlElement(name="controllo-max-threads-tipo-errore-includi-descrizione",required=true,nillable=false,defaultValue="true")
  136.   protected boolean controlloMaxThreadsTipoErroreIncludiDescrizione = true;

  137.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  138.   @XmlElement(name="controllo-congestione-enabled",required=true,nillable=false,defaultValue="false")
  139.   protected boolean controlloCongestioneEnabled = false;

  140.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  141.   @XmlElement(name="controllo-congestione-threshold",required=false,nillable=false)
  142.   protected java.lang.Integer controlloCongestioneThreshold;

  143. }