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.mvc.properties;

  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="name" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  34.  *      &lt;attribute name="selectedValue" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  35.  *      &lt;attribute name="unselectedValue" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  36.  *      &lt;attribute name="append" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  37.  *      &lt;attribute name="appendSeparator" type="{http://www.w3.org/2001/XMLSchema}string" use="optional" default=" "/&gt;
  38.  *      &lt;attribute name="properties" type="{http://www.w3.org/2001/XMLSchema}string" use="optional"/&gt;
  39.  *      &lt;attribute name="force" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&gt;
  40.  * &lt;/complexType&gt;
  41.  * </pre>
  42.  *
  43.  * @version $Rev$, $Date$
  44.  *
  45.  * @author Poli Andrea (poli@link.it)
  46.  * @author $Author$
  47.  * */

  48. @XmlAccessorType(XmlAccessType.FIELD)
  49. @XmlType(name = "property")

  50. @XmlRootElement(name = "property")

  51. public class Property extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  52.   public Property() {
  53.     super();
  54.   }

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

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

  61.   public java.lang.String getSelectedValue() {
  62.     return this.selectedValue;
  63.   }

  64.   public void setSelectedValue(java.lang.String selectedValue) {
  65.     this.selectedValue = selectedValue;
  66.   }

  67.   public java.lang.String getUnselectedValue() {
  68.     return this.unselectedValue;
  69.   }

  70.   public void setUnselectedValue(java.lang.String unselectedValue) {
  71.     this.unselectedValue = unselectedValue;
  72.   }

  73.   public boolean isAppend() {
  74.     return this.append;
  75.   }

  76.   public boolean getAppend() {
  77.     return this.append;
  78.   }

  79.   public void setAppend(boolean append) {
  80.     this.append = append;
  81.   }

  82.   public java.lang.String getAppendSeparator() {
  83.     return this.appendSeparator;
  84.   }

  85.   public void setAppendSeparator(java.lang.String appendSeparator) {
  86.     this.appendSeparator = appendSeparator;
  87.   }

  88.   public java.lang.String getProperties() {
  89.     return this.properties;
  90.   }

  91.   public void setProperties(java.lang.String properties) {
  92.     this.properties = properties;
  93.   }

  94.   public boolean isForce() {
  95.     return this.force;
  96.   }

  97.   public boolean getForce() {
  98.     return this.force;
  99.   }

  100.   public void setForce(boolean force) {
  101.     this.force = force;
  102.   }

  103.   private static final long serialVersionUID = 1L;



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

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

  110.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  111.   @XmlAttribute(name="unselectedValue",required=false)
  112.   protected java.lang.String unselectedValue;

  113.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  114.   @XmlAttribute(name="append",required=false)
  115.   protected boolean append = false;

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

  119.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  120.   @XmlAttribute(name="properties",required=false)
  121.   protected java.lang.String properties;

  122.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  123.   @XmlAttribute(name="force",required=false)
  124.   protected boolean force = false;

  125. }