ConfigurazioneMessageHandlers.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.config;

  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. import java.util.ArrayList;
  28. import java.util.List;


  29. /** <p>Java class for configurazione-message-handlers complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="configurazione-message-handlers"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="pre-in" type="{http://www.openspcoop2.org/core/config}configurazione-handler" minOccurs="0" maxOccurs="unbounded"/&gt;
  37.  *          &lt;element name="in" type="{http://www.openspcoop2.org/core/config}configurazione-handler" minOccurs="0" maxOccurs="unbounded"/&gt;
  38.  *          &lt;element name="inProtocolInfo" type="{http://www.openspcoop2.org/core/config}configurazione-handler" minOccurs="0" maxOccurs="unbounded"/&gt;
  39.  *          &lt;element name="out" type="{http://www.openspcoop2.org/core/config}configurazione-handler" minOccurs="0" maxOccurs="unbounded"/&gt;
  40.  *          &lt;element name="postOut" type="{http://www.openspcoop2.org/core/config}configurazione-handler" minOccurs="0" maxOccurs="unbounded"/&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-message-handlers",
  52.   propOrder = {
  53.     "preIn",
  54.     "in",
  55.     "inProtocolInfo",
  56.     "out",
  57.     "postOut"
  58.   }
  59. )

  60. @XmlRootElement(name = "configurazione-message-handlers")

  61. public class ConfigurazioneMessageHandlers extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  62.   public ConfigurazioneMessageHandlers() {
  63.     super();
  64.   }

  65.   public void addPreIn(ConfigurazioneHandler preIn) {
  66.     this.preIn.add(preIn);
  67.   }

  68.   public ConfigurazioneHandler getPreIn(int index) {
  69.     return this.preIn.get( index );
  70.   }

  71.   public ConfigurazioneHandler removePreIn(int index) {
  72.     return this.preIn.remove( index );
  73.   }

  74.   public List<ConfigurazioneHandler> getPreInList() {
  75.     return this.preIn;
  76.   }

  77.   public void setPreInList(List<ConfigurazioneHandler> preIn) {
  78.     this.preIn=preIn;
  79.   }

  80.   public int sizePreInList() {
  81.     return this.preIn.size();
  82.   }

  83.   public void addIn(ConfigurazioneHandler in) {
  84.     this.in.add(in);
  85.   }

  86.   public ConfigurazioneHandler getIn(int index) {
  87.     return this.in.get( index );
  88.   }

  89.   public ConfigurazioneHandler removeIn(int index) {
  90.     return this.in.remove( index );
  91.   }

  92.   public List<ConfigurazioneHandler> getInList() {
  93.     return this.in;
  94.   }

  95.   public void setInList(List<ConfigurazioneHandler> in) {
  96.     this.in=in;
  97.   }

  98.   public int sizeInList() {
  99.     return this.in.size();
  100.   }

  101.   public void addInProtocolInfo(ConfigurazioneHandler inProtocolInfo) {
  102.     this.inProtocolInfo.add(inProtocolInfo);
  103.   }

  104.   public ConfigurazioneHandler getInProtocolInfo(int index) {
  105.     return this.inProtocolInfo.get( index );
  106.   }

  107.   public ConfigurazioneHandler removeInProtocolInfo(int index) {
  108.     return this.inProtocolInfo.remove( index );
  109.   }

  110.   public List<ConfigurazioneHandler> getInProtocolInfoList() {
  111.     return this.inProtocolInfo;
  112.   }

  113.   public void setInProtocolInfoList(List<ConfigurazioneHandler> inProtocolInfo) {
  114.     this.inProtocolInfo=inProtocolInfo;
  115.   }

  116.   public int sizeInProtocolInfoList() {
  117.     return this.inProtocolInfo.size();
  118.   }

  119.   public void addOut(ConfigurazioneHandler out) {
  120.     this.out.add(out);
  121.   }

  122.   public ConfigurazioneHandler getOut(int index) {
  123.     return this.out.get( index );
  124.   }

  125.   public ConfigurazioneHandler removeOut(int index) {
  126.     return this.out.remove( index );
  127.   }

  128.   public List<ConfigurazioneHandler> getOutList() {
  129.     return this.out;
  130.   }

  131.   public void setOutList(List<ConfigurazioneHandler> out) {
  132.     this.out=out;
  133.   }

  134.   public int sizeOutList() {
  135.     return this.out.size();
  136.   }

  137.   public void addPostOut(ConfigurazioneHandler postOut) {
  138.     this.postOut.add(postOut);
  139.   }

  140.   public ConfigurazioneHandler getPostOut(int index) {
  141.     return this.postOut.get( index );
  142.   }

  143.   public ConfigurazioneHandler removePostOut(int index) {
  144.     return this.postOut.remove( index );
  145.   }

  146.   public List<ConfigurazioneHandler> getPostOutList() {
  147.     return this.postOut;
  148.   }

  149.   public void setPostOutList(List<ConfigurazioneHandler> postOut) {
  150.     this.postOut=postOut;
  151.   }

  152.   public int sizePostOutList() {
  153.     return this.postOut.size();
  154.   }

  155.   private static final long serialVersionUID = 1L;



  156.   @XmlElement(name="pre-in",required=true,nillable=false)
  157.   private List<ConfigurazioneHandler> preIn = new ArrayList<>();

  158.   /**
  159.    * Use method getPreInList
  160.    * @return List&lt;ConfigurazioneHandler&gt;
  161.   */
  162.   public List<ConfigurazioneHandler> getPreIn() {
  163.     return this.getPreInList();
  164.   }

  165.   /**
  166.    * Use method setPreInList
  167.    * @param preIn List&lt;ConfigurazioneHandler&gt;
  168.   */
  169.   public void setPreIn(List<ConfigurazioneHandler> preIn) {
  170.     this.setPreInList(preIn);
  171.   }

  172.   /**
  173.    * Use method sizePreInList
  174.    * @return lunghezza della lista
  175.   */
  176.   public int sizePreIn() {
  177.     return this.sizePreInList();
  178.   }

  179.   @XmlElement(name="in",required=true,nillable=false)
  180.   private List<ConfigurazioneHandler> in = new ArrayList<>();

  181.   /**
  182.    * Use method getInList
  183.    * @return List&lt;ConfigurazioneHandler&gt;
  184.   */
  185.   public List<ConfigurazioneHandler> getIn() {
  186.     return this.getInList();
  187.   }

  188.   /**
  189.    * Use method setInList
  190.    * @param in List&lt;ConfigurazioneHandler&gt;
  191.   */
  192.   public void setIn(List<ConfigurazioneHandler> in) {
  193.     this.setInList(in);
  194.   }

  195.   /**
  196.    * Use method sizeInList
  197.    * @return lunghezza della lista
  198.   */
  199.   public int sizeIn() {
  200.     return this.sizeInList();
  201.   }

  202.   @XmlElement(name="inProtocolInfo",required=true,nillable=false)
  203.   private List<ConfigurazioneHandler> inProtocolInfo = new ArrayList<>();

  204.   /**
  205.    * Use method getInProtocolInfoList
  206.    * @return List&lt;ConfigurazioneHandler&gt;
  207.   */
  208.   public List<ConfigurazioneHandler> getInProtocolInfo() {
  209.     return this.getInProtocolInfoList();
  210.   }

  211.   /**
  212.    * Use method setInProtocolInfoList
  213.    * @param inProtocolInfo List&lt;ConfigurazioneHandler&gt;
  214.   */
  215.   public void setInProtocolInfo(List<ConfigurazioneHandler> inProtocolInfo) {
  216.     this.setInProtocolInfoList(inProtocolInfo);
  217.   }

  218.   /**
  219.    * Use method sizeInProtocolInfoList
  220.    * @return lunghezza della lista
  221.   */
  222.   public int sizeInProtocolInfo() {
  223.     return this.sizeInProtocolInfoList();
  224.   }

  225.   @XmlElement(name="out",required=true,nillable=false)
  226.   private List<ConfigurazioneHandler> out = new ArrayList<>();

  227.   /**
  228.    * Use method getOutList
  229.    * @return List&lt;ConfigurazioneHandler&gt;
  230.   */
  231.   public List<ConfigurazioneHandler> getOut() {
  232.     return this.getOutList();
  233.   }

  234.   /**
  235.    * Use method setOutList
  236.    * @param out List&lt;ConfigurazioneHandler&gt;
  237.   */
  238.   public void setOut(List<ConfigurazioneHandler> out) {
  239.     this.setOutList(out);
  240.   }

  241.   /**
  242.    * Use method sizeOutList
  243.    * @return lunghezza della lista
  244.   */
  245.   public int sizeOut() {
  246.     return this.sizeOutList();
  247.   }

  248.   @XmlElement(name="postOut",required=true,nillable=false)
  249.   private List<ConfigurazioneHandler> postOut = new ArrayList<>();

  250.   /**
  251.    * Use method getPostOutList
  252.    * @return List&lt;ConfigurazioneHandler&gt;
  253.   */
  254.   public List<ConfigurazioneHandler> getPostOut() {
  255.     return this.getPostOutList();
  256.   }

  257.   /**
  258.    * Use method setPostOutList
  259.    * @param postOut List&lt;ConfigurazioneHandler&gt;
  260.   */
  261.   public void setPostOut(List<ConfigurazioneHandler> postOut) {
  262.     this.setPostOutList(postOut);
  263.   }

  264.   /**
  265.    * Use method sizePostOutList
  266.    * @return lunghezza della lista
  267.   */
  268.   public int sizePostOut() {
  269.     return this.sizePostOutList();
  270.   }

  271. }