Property.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.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 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="Property"&gt;
  33.  *      &lt;attribute name="nome" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  34.  *      &lt;attribute name="valore" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  35.  * &lt;/complexType&gt;
  36.  * </pre>
  37.  *
  38.  * @version $Rev$, $Date$
  39.  *
  40.  * @author Poli Andrea (poli@link.it)
  41.  * @author $Author$
  42.  * */

  43. @XmlAccessorType(XmlAccessType.FIELD)
  44. @XmlType(name = "Property")

  45. @XmlRootElement(name = "Property")

  46. public class Property extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  47.   public Property() {
  48.     super();
  49.   }

  50.   public java.lang.String getNome() {
  51.     return this.nome;
  52.   }

  53.   public void setNome(java.lang.String nome) {
  54.     this.nome = nome;
  55.   }

  56.   public java.lang.String getValore() {
  57.     return this.valore;
  58.   }

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

  62.   private static final long serialVersionUID = 1L;



  63.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  64.   @XmlAttribute(name="nome",required=true)
  65.   protected java.lang.String nome;

  66.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  67.   @XmlAttribute(name="valore",required=true)
  68.   protected java.lang.String valore;

  69. }