ActivePolicy.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.beans;

  21. import java.io.Serializable;

  22. import org.openspcoop2.core.controllo_traffico.AttivazionePolicy;
  23. import org.openspcoop2.core.controllo_traffico.ConfigurazionePolicy;
  24. import org.openspcoop2.core.controllo_traffico.constants.TipoRisorsa;

  25. /**
  26.  * ActivePolicy
  27.  *
  28.  * @author Andrea Poli (poli@link.it)
  29.  * @author $Author$
  30.  * @version $Rev$, $Date$
  31.  */
  32. public class ActivePolicy extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {

  33.     /**
  34.      *
  35.      */
  36.     private static final long serialVersionUID = 1L;

  37.     private ConfigurazionePolicy configurazionePolicy;
  38.    
  39.     private TipoRisorsa tipoRisorsaPolicy;
  40.    
  41.     private AttivazionePolicy instanceConfiguration;
  42.    
  43.     private ConfigurazioneControlloTraffico configurazioneControlloTraffico;
  44.    
  45.     public ConfigurazioneControlloTraffico getConfigurazioneControlloTraffico() {
  46.         return this.configurazioneControlloTraffico;
  47.     }

  48.     public void setConfigurazioneControlloTraffico(
  49.             ConfigurazioneControlloTraffico configurazioneControlloTraffico) {
  50.         this.configurazioneControlloTraffico = configurazioneControlloTraffico;
  51.     }

  52.     public AttivazionePolicy getInstanceConfiguration() {
  53.         return this.instanceConfiguration;
  54.     }

  55.     public void setInstanceConfiguration(AttivazionePolicy instanceConfiguration) {
  56.         this.instanceConfiguration = instanceConfiguration;
  57.     }

  58.     public TipoRisorsa getTipoRisorsaPolicy() {
  59.         return this.tipoRisorsaPolicy;
  60.     }

  61.     public void setTipoRisorsaPolicy(TipoRisorsa tipoRisorsaPolicy) {
  62.         this.tipoRisorsaPolicy = tipoRisorsaPolicy;
  63.     }
  64.    
  65.     public ConfigurazionePolicy getConfigurazionePolicy() {
  66.         return this.configurazionePolicy;
  67.     }

  68.     public void setConfigurazionePolicy(ConfigurazionePolicy configurazionePolicy) {
  69.         this.configurazionePolicy = configurazionePolicy;
  70.     }


  71.    
  72. }