ProtocolProperty.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.registry;

  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 protocol-property complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="protocol-property"&gt;
  33.  *      &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  34.  *      &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  35.  *      &lt;attribute name="number-value" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" use="optional"/&gt;
  36.  *      &lt;attribute name="boolean-value" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  37.  *      &lt;attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  38.  *      &lt;attribute name="byte-file" type="{http://www.w3.org/2001/XMLSchema}base64Binary" use="optional"/&gt;
  39.  *      &lt;attribute name="tipo-proprietario" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  40.  *      &lt;attribute name="id-proprietario" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" use="optional"/&gt;
  41.  * &lt;/complexType&gt;
  42.  * </pre>
  43.  *
  44.  * @version $Rev$, $Date$
  45.  *
  46.  * @author Poli Andrea (poli@link.it)
  47.  * @author $Author$
  48.  * */

  49. @XmlAccessorType(XmlAccessType.FIELD)
  50. @XmlType(name = "protocol-property")

  51. @XmlRootElement(name = "protocol-property")

  52. public class ProtocolProperty extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  53.   public ProtocolProperty() {
  54.     super();
  55.   }

  56.   public java.lang.String getName() {
  57.     return this.name;
  58.   }

  59.   public void setName(java.lang.String name) {
  60.     this.name = name;
  61.   }

  62.   public java.lang.String getValue() {
  63.     return this.value;
  64.   }

  65.   public void setValue(java.lang.String value) {
  66.     this.value = value;
  67.   }

  68.   public java.lang.Long getNumberValue() {
  69.     return this.numberValue;
  70.   }

  71.   public void setNumberValue(java.lang.Long numberValue) {
  72.     this.numberValue = numberValue;
  73.   }

  74.   public Boolean getBooleanValue() {
  75.     return this.booleanValue;
  76.   }

  77.   public void setBooleanValue(Boolean booleanValue) {
  78.     this.booleanValue = booleanValue;
  79.   }

  80.   public java.lang.String getFile() {
  81.     return this.file;
  82.   }

  83.   public void setFile(java.lang.String file) {
  84.     this.file = file;
  85.   }

  86.   public byte[] getByteFile() {
  87.     return this.byteFile;
  88.   }

  89.   public void setByteFile(byte[] byteFile) {
  90.     this.byteFile = byteFile;
  91.   }

  92.   public java.lang.String getTipoProprietario() {
  93.     return this.tipoProprietario;
  94.   }

  95.   public void setTipoProprietario(java.lang.String tipoProprietario) {
  96.     this.tipoProprietario = tipoProprietario;
  97.   }

  98.   public java.lang.Long getIdProprietario() {
  99.     return this.idProprietario;
  100.   }

  101.   public void setIdProprietario(java.lang.Long idProprietario) {
  102.     this.idProprietario = idProprietario;
  103.   }

  104.   private static final long serialVersionUID = 1L;



  105.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  106.   @XmlAttribute(name="name",required=true)
  107.   protected java.lang.String name;

  108.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  109.   @XmlAttribute(name="value",required=false)
  110.   protected java.lang.String value;

  111.   @javax.xml.bind.annotation.XmlSchemaType(name="unsignedLong")
  112.   @XmlAttribute(name="number-value",required=false)
  113.   protected java.lang.Long numberValue;

  114.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  115.   @XmlAttribute(name="boolean-value",required=false)
  116.   protected Boolean booleanValue;

  117.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  118.   @XmlAttribute(name="file",required=false)
  119.   protected java.lang.String file;

  120.   @javax.xml.bind.annotation.XmlSchemaType(name="base64Binary")
  121.   @XmlAttribute(name="byte-file",required=false)
  122.   protected byte[] byteFile;

  123.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  124.   @XmlAttribute(name="tipo-proprietario",required=false)
  125.   protected java.lang.String tipoProprietario;

  126.   @javax.xml.bind.annotation.XmlTransient
  127.   protected java.lang.Long idProprietario;

  128. }