ConfigurazionePolicy.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 org.openspcoop2.core.controllo_traffico.constants.TipoApplicabilita;
  27. import org.openspcoop2.core.controllo_traffico.constants.TipoBanda;
  28. import org.openspcoop2.core.controllo_traffico.constants.TipoControlloPeriodo;
  29. import org.openspcoop2.core.controllo_traffico.constants.TipoFinestra;
  30. import org.openspcoop2.core.controllo_traffico.constants.TipoLatenza;
  31. import org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoRealtime;
  32. import org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoStatistico;
  33. import java.io.Serializable;


  34. /** <p>Java class for configurazione-policy complex type.
  35.  *
  36.  * <p>The following schema fragment specifies the expected content contained within this class.
  37.  *
  38.  * <pre>
  39.  * &lt;complexType name="configurazione-policy"&gt;
  40.  *      &lt;sequence&gt;
  41.  *          &lt;element name="id-policy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  42.  *          &lt;element name="built-in" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  43.  *          &lt;element name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  44.  *          &lt;element name="risorsa" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1" maxOccurs="1"/&gt;
  45.  *          &lt;element name="simultanee" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  46.  *          &lt;element name="valore" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0" maxOccurs="1"/&gt;
  47.  *          &lt;element name="valore2" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" minOccurs="0" maxOccurs="1"/&gt;
  48.  *          &lt;element name="valore-tipo-banda" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-banda" minOccurs="0" maxOccurs="1"/&gt;
  49.  *          &lt;element name="valore-tipo-latenza" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-latenza" minOccurs="0" maxOccurs="1"/&gt;
  50.  *          &lt;element name="modalita-controllo" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-controllo-periodo" minOccurs="0" maxOccurs="1"/&gt;
  51.  *          &lt;element name="tipo-intervallo-osservazione-realtime" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-periodo-realtime" minOccurs="0" maxOccurs="1"/&gt;
  52.  *          &lt;element name="tipo-intervallo-osservazione-statistico" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-periodo-statistico" minOccurs="0" maxOccurs="1"/&gt;
  53.  *          &lt;element name="intervallo-osservazione" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0" maxOccurs="1"/&gt;
  54.  *          &lt;element name="finestra-osservazione" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-finestra" minOccurs="0" maxOccurs="1"/&gt;
  55.  *          &lt;element name="tipo-applicabilita" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-applicabilita" minOccurs="1" maxOccurs="1" default="sempre"/&gt;
  56.  *          &lt;element name="applicabilita-con-congestione" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  57.  *          &lt;element name="applicabilita-degrado-prestazionale" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  58.  *          &lt;element name="degrado-avg-time-modalita-controllo" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-controllo-periodo" minOccurs="0" maxOccurs="1"/&gt;
  59.  *          &lt;element name="degrado-avg-time-tipo-intervallo-osservazione-realtime" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-periodo-realtime" minOccurs="0" maxOccurs="1"/&gt;
  60.  *          &lt;element name="degrado-avg-time-tipo-intervallo-osservazione-statistico" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-periodo-statistico" minOccurs="0" maxOccurs="1"/&gt;
  61.  *          &lt;element name="degrado-avg-time-intervallo-osservazione" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0" maxOccurs="1"/&gt;
  62.  *          &lt;element name="degrado-avg-time-finestra-osservazione" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-finestra" minOccurs="0" maxOccurs="1"/&gt;
  63.  *          &lt;element name="degrado-avg-time-tipo-latenza" type="{http://www.openspcoop2.org/core/controllo_traffico}tipo-latenza" minOccurs="0" maxOccurs="1"/&gt;
  64.  *          &lt;element name="applicabilita-stato-allarme" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  65.  *          &lt;element name="allarme-nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  66.  *          &lt;element name="allarme-stato" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" minOccurs="0" maxOccurs="1"/&gt;
  67.  *          &lt;element name="allarme-not-stato" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="1" maxOccurs="1" default="false"/&gt;
  68.  *      &lt;/sequence&gt;
  69.  * &lt;/complexType&gt;
  70.  * </pre>
  71.  *
  72.  * @version $Rev$, $Date$
  73.  *
  74.  * @author Poli Andrea (poli@link.it)
  75.  * @author $Author$
  76.  * */

  77. @XmlAccessorType(XmlAccessType.FIELD)
  78. @XmlType(name = "configurazione-policy",
  79.   propOrder = {
  80.     "idPolicy",
  81.     "builtIn",
  82.     "descrizione",
  83.     "risorsa",
  84.     "simultanee",
  85.     "valore",
  86.     "valore2",
  87.     "valoreTipoBanda",
  88.     "valoreTipoLatenza",
  89.     "modalitaControllo",
  90.     "tipoIntervalloOsservazioneRealtime",
  91.     "tipoIntervalloOsservazioneStatistico",
  92.     "intervalloOsservazione",
  93.     "finestraOsservazione",
  94.     "tipoApplicabilita",
  95.     "applicabilitaConCongestione",
  96.     "applicabilitaDegradoPrestazionale",
  97.     "degradoAvgTimeModalitaControllo",
  98.     "degradoAvgTimeTipoIntervalloOsservazioneRealtime",
  99.     "degradoAvgTimeTipoIntervalloOsservazioneStatistico",
  100.     "degradoAvgTimeIntervalloOsservazione",
  101.     "degradoAvgTimeFinestraOsservazione",
  102.     "degradoAvgTimeTipoLatenza",
  103.     "applicabilitaStatoAllarme",
  104.     "allarmeNome",
  105.     "allarmeStato",
  106.     "allarmeNotStato"
  107.   }
  108. )

  109. @XmlRootElement(name = "configurazione-policy")

  110. public class ConfigurazionePolicy extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  111.   public ConfigurazionePolicy() {
  112.     super();
  113.   }

  114.   public IdPolicy getOldIdPolicy() {
  115.     return this.oldIdPolicy;
  116.   }

  117.   public void setOldIdPolicy(IdPolicy oldIdPolicy) {
  118.     this.oldIdPolicy=oldIdPolicy;
  119.   }

  120.   public java.lang.String getIdPolicy() {
  121.     return this.idPolicy;
  122.   }

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

  126.   public boolean isBuiltIn() {
  127.     return this.builtIn;
  128.   }

  129.   public boolean getBuiltIn() {
  130.     return this.builtIn;
  131.   }

  132.   public void setBuiltIn(boolean builtIn) {
  133.     this.builtIn = builtIn;
  134.   }

  135.   public java.lang.String getDescrizione() {
  136.     return this.descrizione;
  137.   }

  138.   public void setDescrizione(java.lang.String descrizione) {
  139.     this.descrizione = descrizione;
  140.   }

  141.   public java.lang.String getRisorsa() {
  142.     return this.risorsa;
  143.   }

  144.   public void setRisorsa(java.lang.String risorsa) {
  145.     this.risorsa = risorsa;
  146.   }

  147.   public boolean isSimultanee() {
  148.     return this.simultanee;
  149.   }

  150.   public boolean getSimultanee() {
  151.     return this.simultanee;
  152.   }

  153.   public void setSimultanee(boolean simultanee) {
  154.     this.simultanee = simultanee;
  155.   }

  156.   public java.lang.Long getValore() {
  157.     return this.valore;
  158.   }

  159.   public void setValore(java.lang.Long valore) {
  160.     this.valore = valore;
  161.   }

  162.   public java.lang.Long getValore2() {
  163.     return this.valore2;
  164.   }

  165.   public void setValore2(java.lang.Long valore2) {
  166.     this.valore2 = valore2;
  167.   }

  168.   public void setValoreTipoBandaRawEnumValue(String value) {
  169.     this.valoreTipoBanda = (TipoBanda) TipoBanda.toEnumConstantFromString(value);
  170.   }

  171.   public String getValoreTipoBandaRawEnumValue() {
  172.     if(this.valoreTipoBanda == null){
  173.         return null;
  174.     }else{
  175.         return this.valoreTipoBanda.toString();
  176.     }
  177.   }

  178.   public org.openspcoop2.core.controllo_traffico.constants.TipoBanda getValoreTipoBanda() {
  179.     return this.valoreTipoBanda;
  180.   }

  181.   public void setValoreTipoBanda(org.openspcoop2.core.controllo_traffico.constants.TipoBanda valoreTipoBanda) {
  182.     this.valoreTipoBanda = valoreTipoBanda;
  183.   }

  184.   public void setValoreTipoLatenzaRawEnumValue(String value) {
  185.     this.valoreTipoLatenza = (TipoLatenza) TipoLatenza.toEnumConstantFromString(value);
  186.   }

  187.   public String getValoreTipoLatenzaRawEnumValue() {
  188.     if(this.valoreTipoLatenza == null){
  189.         return null;
  190.     }else{
  191.         return this.valoreTipoLatenza.toString();
  192.     }
  193.   }

  194.   public org.openspcoop2.core.controllo_traffico.constants.TipoLatenza getValoreTipoLatenza() {
  195.     return this.valoreTipoLatenza;
  196.   }

  197.   public void setValoreTipoLatenza(org.openspcoop2.core.controllo_traffico.constants.TipoLatenza valoreTipoLatenza) {
  198.     this.valoreTipoLatenza = valoreTipoLatenza;
  199.   }

  200.   public void setModalitaControlloRawEnumValue(String value) {
  201.     this.modalitaControllo = (TipoControlloPeriodo) TipoControlloPeriodo.toEnumConstantFromString(value);
  202.   }

  203.   public String getModalitaControlloRawEnumValue() {
  204.     if(this.modalitaControllo == null){
  205.         return null;
  206.     }else{
  207.         return this.modalitaControllo.toString();
  208.     }
  209.   }

  210.   public org.openspcoop2.core.controllo_traffico.constants.TipoControlloPeriodo getModalitaControllo() {
  211.     return this.modalitaControllo;
  212.   }

  213.   public void setModalitaControllo(org.openspcoop2.core.controllo_traffico.constants.TipoControlloPeriodo modalitaControllo) {
  214.     this.modalitaControllo = modalitaControllo;
  215.   }

  216.   public void setTipoIntervalloOsservazioneRealtimeRawEnumValue(String value) {
  217.     this.tipoIntervalloOsservazioneRealtime = (TipoPeriodoRealtime) TipoPeriodoRealtime.toEnumConstantFromString(value);
  218.   }

  219.   public String getTipoIntervalloOsservazioneRealtimeRawEnumValue() {
  220.     if(this.tipoIntervalloOsservazioneRealtime == null){
  221.         return null;
  222.     }else{
  223.         return this.tipoIntervalloOsservazioneRealtime.toString();
  224.     }
  225.   }

  226.   public org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoRealtime getTipoIntervalloOsservazioneRealtime() {
  227.     return this.tipoIntervalloOsservazioneRealtime;
  228.   }

  229.   public void setTipoIntervalloOsservazioneRealtime(org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoRealtime tipoIntervalloOsservazioneRealtime) {
  230.     this.tipoIntervalloOsservazioneRealtime = tipoIntervalloOsservazioneRealtime;
  231.   }

  232.   public void setTipoIntervalloOsservazioneStatisticoRawEnumValue(String value) {
  233.     this.tipoIntervalloOsservazioneStatistico = (TipoPeriodoStatistico) TipoPeriodoStatistico.toEnumConstantFromString(value);
  234.   }

  235.   public String getTipoIntervalloOsservazioneStatisticoRawEnumValue() {
  236.     if(this.tipoIntervalloOsservazioneStatistico == null){
  237.         return null;
  238.     }else{
  239.         return this.tipoIntervalloOsservazioneStatistico.toString();
  240.     }
  241.   }

  242.   public org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoStatistico getTipoIntervalloOsservazioneStatistico() {
  243.     return this.tipoIntervalloOsservazioneStatistico;
  244.   }

  245.   public void setTipoIntervalloOsservazioneStatistico(org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoStatistico tipoIntervalloOsservazioneStatistico) {
  246.     this.tipoIntervalloOsservazioneStatistico = tipoIntervalloOsservazioneStatistico;
  247.   }

  248.   public java.lang.Integer getIntervalloOsservazione() {
  249.     return this.intervalloOsservazione;
  250.   }

  251.   public void setIntervalloOsservazione(java.lang.Integer intervalloOsservazione) {
  252.     this.intervalloOsservazione = intervalloOsservazione;
  253.   }

  254.   public void setFinestraOsservazioneRawEnumValue(String value) {
  255.     this.finestraOsservazione = (TipoFinestra) TipoFinestra.toEnumConstantFromString(value);
  256.   }

  257.   public String getFinestraOsservazioneRawEnumValue() {
  258.     if(this.finestraOsservazione == null){
  259.         return null;
  260.     }else{
  261.         return this.finestraOsservazione.toString();
  262.     }
  263.   }

  264.   public org.openspcoop2.core.controllo_traffico.constants.TipoFinestra getFinestraOsservazione() {
  265.     return this.finestraOsservazione;
  266.   }

  267.   public void setFinestraOsservazione(org.openspcoop2.core.controllo_traffico.constants.TipoFinestra finestraOsservazione) {
  268.     this.finestraOsservazione = finestraOsservazione;
  269.   }

  270.   public void setTipoApplicabilitaRawEnumValue(String value) {
  271.     this.tipoApplicabilita = (TipoApplicabilita) TipoApplicabilita.toEnumConstantFromString(value);
  272.   }

  273.   public String getTipoApplicabilitaRawEnumValue() {
  274.     if(this.tipoApplicabilita == null){
  275.         return null;
  276.     }else{
  277.         return this.tipoApplicabilita.toString();
  278.     }
  279.   }

  280.   public org.openspcoop2.core.controllo_traffico.constants.TipoApplicabilita getTipoApplicabilita() {
  281.     return this.tipoApplicabilita;
  282.   }

  283.   public void setTipoApplicabilita(org.openspcoop2.core.controllo_traffico.constants.TipoApplicabilita tipoApplicabilita) {
  284.     this.tipoApplicabilita = tipoApplicabilita;
  285.   }

  286.   public boolean isApplicabilitaConCongestione() {
  287.     return this.applicabilitaConCongestione;
  288.   }

  289.   public boolean getApplicabilitaConCongestione() {
  290.     return this.applicabilitaConCongestione;
  291.   }

  292.   public void setApplicabilitaConCongestione(boolean applicabilitaConCongestione) {
  293.     this.applicabilitaConCongestione = applicabilitaConCongestione;
  294.   }

  295.   public boolean isApplicabilitaDegradoPrestazionale() {
  296.     return this.applicabilitaDegradoPrestazionale;
  297.   }

  298.   public boolean getApplicabilitaDegradoPrestazionale() {
  299.     return this.applicabilitaDegradoPrestazionale;
  300.   }

  301.   public void setApplicabilitaDegradoPrestazionale(boolean applicabilitaDegradoPrestazionale) {
  302.     this.applicabilitaDegradoPrestazionale = applicabilitaDegradoPrestazionale;
  303.   }

  304.   public void setDegradoAvgTimeModalitaControlloRawEnumValue(String value) {
  305.     this.degradoAvgTimeModalitaControllo = (TipoControlloPeriodo) TipoControlloPeriodo.toEnumConstantFromString(value);
  306.   }

  307.   public String getDegradoAvgTimeModalitaControlloRawEnumValue() {
  308.     if(this.degradoAvgTimeModalitaControllo == null){
  309.         return null;
  310.     }else{
  311.         return this.degradoAvgTimeModalitaControllo.toString();
  312.     }
  313.   }

  314.   public org.openspcoop2.core.controllo_traffico.constants.TipoControlloPeriodo getDegradoAvgTimeModalitaControllo() {
  315.     return this.degradoAvgTimeModalitaControllo;
  316.   }

  317.   public void setDegradoAvgTimeModalitaControllo(org.openspcoop2.core.controllo_traffico.constants.TipoControlloPeriodo degradoAvgTimeModalitaControllo) {
  318.     this.degradoAvgTimeModalitaControllo = degradoAvgTimeModalitaControllo;
  319.   }

  320.   public void setDegradoAvgTimeTipoIntervalloOsservazioneRealtimeRawEnumValue(String value) {
  321.     this.degradoAvgTimeTipoIntervalloOsservazioneRealtime = (TipoPeriodoRealtime) TipoPeriodoRealtime.toEnumConstantFromString(value);
  322.   }

  323.   public String getDegradoAvgTimeTipoIntervalloOsservazioneRealtimeRawEnumValue() {
  324.     if(this.degradoAvgTimeTipoIntervalloOsservazioneRealtime == null){
  325.         return null;
  326.     }else{
  327.         return this.degradoAvgTimeTipoIntervalloOsservazioneRealtime.toString();
  328.     }
  329.   }

  330.   public org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoRealtime getDegradoAvgTimeTipoIntervalloOsservazioneRealtime() {
  331.     return this.degradoAvgTimeTipoIntervalloOsservazioneRealtime;
  332.   }

  333.   public void setDegradoAvgTimeTipoIntervalloOsservazioneRealtime(org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoRealtime degradoAvgTimeTipoIntervalloOsservazioneRealtime) {
  334.     this.degradoAvgTimeTipoIntervalloOsservazioneRealtime = degradoAvgTimeTipoIntervalloOsservazioneRealtime;
  335.   }

  336.   public void setDegradoAvgTimeTipoIntervalloOsservazioneStatisticoRawEnumValue(String value) {
  337.     this.degradoAvgTimeTipoIntervalloOsservazioneStatistico = (TipoPeriodoStatistico) TipoPeriodoStatistico.toEnumConstantFromString(value);
  338.   }

  339.   public String getDegradoAvgTimeTipoIntervalloOsservazioneStatisticoRawEnumValue() {
  340.     if(this.degradoAvgTimeTipoIntervalloOsservazioneStatistico == null){
  341.         return null;
  342.     }else{
  343.         return this.degradoAvgTimeTipoIntervalloOsservazioneStatistico.toString();
  344.     }
  345.   }

  346.   public org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoStatistico getDegradoAvgTimeTipoIntervalloOsservazioneStatistico() {
  347.     return this.degradoAvgTimeTipoIntervalloOsservazioneStatistico;
  348.   }

  349.   public void setDegradoAvgTimeTipoIntervalloOsservazioneStatistico(org.openspcoop2.core.controllo_traffico.constants.TipoPeriodoStatistico degradoAvgTimeTipoIntervalloOsservazioneStatistico) {
  350.     this.degradoAvgTimeTipoIntervalloOsservazioneStatistico = degradoAvgTimeTipoIntervalloOsservazioneStatistico;
  351.   }

  352.   public java.lang.Integer getDegradoAvgTimeIntervalloOsservazione() {
  353.     return this.degradoAvgTimeIntervalloOsservazione;
  354.   }

  355.   public void setDegradoAvgTimeIntervalloOsservazione(java.lang.Integer degradoAvgTimeIntervalloOsservazione) {
  356.     this.degradoAvgTimeIntervalloOsservazione = degradoAvgTimeIntervalloOsservazione;
  357.   }

  358.   public void setDegradoAvgTimeFinestraOsservazioneRawEnumValue(String value) {
  359.     this.degradoAvgTimeFinestraOsservazione = (TipoFinestra) TipoFinestra.toEnumConstantFromString(value);
  360.   }

  361.   public String getDegradoAvgTimeFinestraOsservazioneRawEnumValue() {
  362.     if(this.degradoAvgTimeFinestraOsservazione == null){
  363.         return null;
  364.     }else{
  365.         return this.degradoAvgTimeFinestraOsservazione.toString();
  366.     }
  367.   }

  368.   public org.openspcoop2.core.controllo_traffico.constants.TipoFinestra getDegradoAvgTimeFinestraOsservazione() {
  369.     return this.degradoAvgTimeFinestraOsservazione;
  370.   }

  371.   public void setDegradoAvgTimeFinestraOsservazione(org.openspcoop2.core.controllo_traffico.constants.TipoFinestra degradoAvgTimeFinestraOsservazione) {
  372.     this.degradoAvgTimeFinestraOsservazione = degradoAvgTimeFinestraOsservazione;
  373.   }

  374.   public void setDegradoAvgTimeTipoLatenzaRawEnumValue(String value) {
  375.     this.degradoAvgTimeTipoLatenza = (TipoLatenza) TipoLatenza.toEnumConstantFromString(value);
  376.   }

  377.   public String getDegradoAvgTimeTipoLatenzaRawEnumValue() {
  378.     if(this.degradoAvgTimeTipoLatenza == null){
  379.         return null;
  380.     }else{
  381.         return this.degradoAvgTimeTipoLatenza.toString();
  382.     }
  383.   }

  384.   public org.openspcoop2.core.controllo_traffico.constants.TipoLatenza getDegradoAvgTimeTipoLatenza() {
  385.     return this.degradoAvgTimeTipoLatenza;
  386.   }

  387.   public void setDegradoAvgTimeTipoLatenza(org.openspcoop2.core.controllo_traffico.constants.TipoLatenza degradoAvgTimeTipoLatenza) {
  388.     this.degradoAvgTimeTipoLatenza = degradoAvgTimeTipoLatenza;
  389.   }

  390.   public boolean isApplicabilitaStatoAllarme() {
  391.     return this.applicabilitaStatoAllarme;
  392.   }

  393.   public boolean getApplicabilitaStatoAllarme() {
  394.     return this.applicabilitaStatoAllarme;
  395.   }

  396.   public void setApplicabilitaStatoAllarme(boolean applicabilitaStatoAllarme) {
  397.     this.applicabilitaStatoAllarme = applicabilitaStatoAllarme;
  398.   }

  399.   public java.lang.String getAllarmeNome() {
  400.     return this.allarmeNome;
  401.   }

  402.   public void setAllarmeNome(java.lang.String allarmeNome) {
  403.     this.allarmeNome = allarmeNome;
  404.   }

  405.   public java.lang.Integer getAllarmeStato() {
  406.     return this.allarmeStato;
  407.   }

  408.   public void setAllarmeStato(java.lang.Integer allarmeStato) {
  409.     this.allarmeStato = allarmeStato;
  410.   }

  411.   public boolean isAllarmeNotStato() {
  412.     return this.allarmeNotStato;
  413.   }

  414.   public boolean getAllarmeNotStato() {
  415.     return this.allarmeNotStato;
  416.   }

  417.   public void setAllarmeNotStato(boolean allarmeNotStato) {
  418.     this.allarmeNotStato = allarmeNotStato;
  419.   }

  420.   private static final long serialVersionUID = 1L;

  421.   private static org.openspcoop2.core.controllo_traffico.model.ConfigurazionePolicyModel modelStaticInstance = null;
  422.   private static synchronized void initModelStaticInstance(){
  423.       if(org.openspcoop2.core.controllo_traffico.ConfigurazionePolicy.modelStaticInstance==null){
  424.             org.openspcoop2.core.controllo_traffico.ConfigurazionePolicy.modelStaticInstance = new org.openspcoop2.core.controllo_traffico.model.ConfigurazionePolicyModel();
  425.       }
  426.   }
  427.   public static org.openspcoop2.core.controllo_traffico.model.ConfigurazionePolicyModel model(){
  428.       if(org.openspcoop2.core.controllo_traffico.ConfigurazionePolicy.modelStaticInstance==null){
  429.             initModelStaticInstance();
  430.       }
  431.       return org.openspcoop2.core.controllo_traffico.ConfigurazionePolicy.modelStaticInstance;
  432.   }


  433.   @javax.xml.bind.annotation.XmlTransient
  434.   protected IdPolicy oldIdPolicy;

  435.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  436.   @XmlElement(name="id-policy",required=true,nillable=false)
  437.   protected java.lang.String idPolicy;

  438.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  439.   @XmlElement(name="built-in",required=true,nillable=false,defaultValue="false")
  440.   protected boolean builtIn = false;

  441.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  442.   @XmlElement(name="descrizione",required=true,nillable=false)
  443.   protected java.lang.String descrizione;

  444.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  445.   @XmlElement(name="risorsa",required=true,nillable=false)
  446.   protected java.lang.String risorsa;

  447.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  448.   @XmlElement(name="simultanee",required=true,nillable=false,defaultValue="false")
  449.   protected boolean simultanee = false;

  450.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  451.   @XmlElement(name="valore",required=false,nillable=false)
  452.   protected java.lang.Long valore;

  453.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  454.   @XmlElement(name="valore2",required=false,nillable=false)
  455.   protected java.lang.Long valore2;

  456.   @javax.xml.bind.annotation.XmlTransient
  457.   protected java.lang.String valoreTipoBandaRawEnumValue;

  458.   @XmlElement(name="valore-tipo-banda",required=false,nillable=false)
  459.   protected TipoBanda valoreTipoBanda;

  460.   @javax.xml.bind.annotation.XmlTransient
  461.   protected java.lang.String valoreTipoLatenzaRawEnumValue;

  462.   @XmlElement(name="valore-tipo-latenza",required=false,nillable=false)
  463.   protected TipoLatenza valoreTipoLatenza;

  464.   @javax.xml.bind.annotation.XmlTransient
  465.   protected java.lang.String modalitaControlloRawEnumValue;

  466.   @XmlElement(name="modalita-controllo",required=false,nillable=false)
  467.   protected TipoControlloPeriodo modalitaControllo;

  468.   @javax.xml.bind.annotation.XmlTransient
  469.   protected java.lang.String tipoIntervalloOsservazioneRealtimeRawEnumValue;

  470.   @XmlElement(name="tipo-intervallo-osservazione-realtime",required=false,nillable=false)
  471.   protected TipoPeriodoRealtime tipoIntervalloOsservazioneRealtime;

  472.   @javax.xml.bind.annotation.XmlTransient
  473.   protected java.lang.String tipoIntervalloOsservazioneStatisticoRawEnumValue;

  474.   @XmlElement(name="tipo-intervallo-osservazione-statistico",required=false,nillable=false)
  475.   protected TipoPeriodoStatistico tipoIntervalloOsservazioneStatistico;

  476.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  477.   @XmlElement(name="intervallo-osservazione",required=false,nillable=false)
  478.   protected java.lang.Integer intervalloOsservazione;

  479.   @javax.xml.bind.annotation.XmlTransient
  480.   protected java.lang.String finestraOsservazioneRawEnumValue;

  481.   @XmlElement(name="finestra-osservazione",required=false,nillable=false)
  482.   protected TipoFinestra finestraOsservazione;

  483.   @javax.xml.bind.annotation.XmlTransient
  484.   protected java.lang.String tipoApplicabilitaRawEnumValue;

  485.   @XmlElement(name="tipo-applicabilita",required=true,nillable=false,defaultValue="sempre")
  486.   protected TipoApplicabilita tipoApplicabilita = (TipoApplicabilita) TipoApplicabilita.toEnumConstantFromString("sempre");

  487.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  488.   @XmlElement(name="applicabilita-con-congestione",required=true,nillable=false,defaultValue="false")
  489.   protected boolean applicabilitaConCongestione = false;

  490.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  491.   @XmlElement(name="applicabilita-degrado-prestazionale",required=true,nillable=false,defaultValue="false")
  492.   protected boolean applicabilitaDegradoPrestazionale = false;

  493.   @javax.xml.bind.annotation.XmlTransient
  494.   protected java.lang.String degradoAvgTimeModalitaControlloRawEnumValue;

  495.   @XmlElement(name="degrado-avg-time-modalita-controllo",required=false,nillable=false)
  496.   protected TipoControlloPeriodo degradoAvgTimeModalitaControllo;

  497.   @javax.xml.bind.annotation.XmlTransient
  498.   protected java.lang.String degradoAvgTimeTipoIntervalloOsservazioneRealtimeRawEnumValue;

  499.   @XmlElement(name="degrado-avg-time-tipo-intervallo-osservazione-realtime",required=false,nillable=false)
  500.   protected TipoPeriodoRealtime degradoAvgTimeTipoIntervalloOsservazioneRealtime;

  501.   @javax.xml.bind.annotation.XmlTransient
  502.   protected java.lang.String degradoAvgTimeTipoIntervalloOsservazioneStatisticoRawEnumValue;

  503.   @XmlElement(name="degrado-avg-time-tipo-intervallo-osservazione-statistico",required=false,nillable=false)
  504.   protected TipoPeriodoStatistico degradoAvgTimeTipoIntervalloOsservazioneStatistico;

  505.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  506.   @XmlElement(name="degrado-avg-time-intervallo-osservazione",required=false,nillable=false)
  507.   protected java.lang.Integer degradoAvgTimeIntervalloOsservazione;

  508.   @javax.xml.bind.annotation.XmlTransient
  509.   protected java.lang.String degradoAvgTimeFinestraOsservazioneRawEnumValue;

  510.   @XmlElement(name="degrado-avg-time-finestra-osservazione",required=false,nillable=false)
  511.   protected TipoFinestra degradoAvgTimeFinestraOsservazione;

  512.   @javax.xml.bind.annotation.XmlTransient
  513.   protected java.lang.String degradoAvgTimeTipoLatenzaRawEnumValue;

  514.   @XmlElement(name="degrado-avg-time-tipo-latenza",required=false,nillable=false)
  515.   protected TipoLatenza degradoAvgTimeTipoLatenza;

  516.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  517.   @XmlElement(name="applicabilita-stato-allarme",required=true,nillable=false,defaultValue="false")
  518.   protected boolean applicabilitaStatoAllarme = false;

  519.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  520.   @XmlElement(name="allarme-nome",required=false,nillable=false)
  521.   protected java.lang.String allarmeNome;

  522.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedInt")
  523.   @XmlElement(name="allarme-stato",required=false,nillable=false)
  524.   protected java.lang.Integer allarmeStato;

  525.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  526.   @XmlElement(name="allarme-not-stato",required=true,nillable=false,defaultValue="false")
  527.   protected boolean allarmeNotStato = false;

  528. }