SerializedParameter.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.message.context;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlAttribute;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for serialized-parameter complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="serialized-parameter"&gt;
  33.  *      &lt;xsd:simpleContent&gt;
  34.  *          &lt;xsd:extension base="{http://www.openspcoop2.org/message/context}byte[]"&gt;
  35.  *              &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  36.  *              &lt;attribute name="classe" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  37.  *          &lt;/xsd:extension&gt;
  38.  *      &lt;/xsd:simpleContent&gt;
  39.  * &lt;/complexType&gt;
  40.  * </pre>
  41.  *
  42.  * @version $Rev$, $Date$
  43.  *
  44.  * @author Poli Andrea (poli@link.it)
  45.  * @author $Author$
  46.  * */

  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "serialized-parameter")

  49. @XmlRootElement(name = "serialized-parameter")

  50. public class SerializedParameter extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  51.   public SerializedParameter() {
  52.     super();
  53.   }

  54.   public byte[] getBase() {
  55.     return this.base;
  56.   }

  57.   public void setBase(byte[] base) {
  58.     this.base=base;
  59.   }

  60.   public java.lang.String getNome() {
  61.     return this.nome;
  62.   }

  63.   public void setNome(java.lang.String nome) {
  64.     this.nome = nome;
  65.   }

  66.   public java.lang.String getClasse() {
  67.     return this.classe;
  68.   }

  69.   public void setClasse(java.lang.String classe) {
  70.     this.classe = classe;
  71.   }

  72.   private static final long serialVersionUID = 1L;



  73.   @javax.xml.bind.annotation.XmlValue()
  74.   public byte[] base;

  75.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  76.   @XmlAttribute(name="nome",required=true)
  77.   protected java.lang.String nome;

  78.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  79.   @XmlAttribute(name="classe",required=true)
  80.   protected java.lang.String classe;

  81. }