Defined.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 defined complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="defined"&gt;
  33.  *      &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" use="required"/&gt;
  34.  *      &lt;attribute name="not" type="{http://www.w3.org/2001/XMLSchema}boolean" use="optional" default="false"/&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 = "defined")

  45. @XmlRootElement(name = "defined")

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

  50.   public java.lang.String getName() {
  51.     return this.name;
  52.   }

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

  56.   public boolean isNot() {
  57.     return this.not;
  58.   }

  59.   public boolean getNot() {
  60.     return this.not;
  61.   }

  62.   public void setNot(boolean not) {
  63.     this.not = not;
  64.   }

  65.   private static final long serialVersionUID = 1L;



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

  69.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  70.   @XmlAttribute(name="not",required=false)
  71.   protected boolean not = false;

  72. }