All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.markusbernhardt.xmldoclet.xjc.Enum Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 generiert 
// Siehe http://java.sun.com/xml/jaxb 
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. 
// Generiert: 2013.10.30 um 10:14:13 PM CET 
//


package com.github.markusbernhardt.xmldoclet.xjc;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java-Klasse für enum complex type. * *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

 * <complexType name="enum">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="tag" type="{}tagInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="class" type="{}typeInfo" minOccurs="0"/>
 *         <element name="interface" type="{}typeInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="constant" type="{}enumConstant" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="annotation" type="{}annotationInstance" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="qualified" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="scope" type="{}scope" />
 *       <attribute name="included" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "enum", propOrder = { "comment", "tag", "clazz", "_interface", "constant", "annotation" }) public class Enum { protected String comment; protected List tag; @XmlElement(name = "class") protected TypeInfo clazz; @XmlElement(name = "interface") protected List _interface; protected List constant; protected List annotation; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "qualified") protected String qualified; @XmlAttribute(name = "scope") protected String scope; @XmlAttribute(name = "included") protected Boolean included; /** * Ruft den Wert der comment-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Legt den Wert der comment-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the tag property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the tag property. * *

* For example, to add a new item, do as follows: *

     *    getTag().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TagInfo } * * */ public List getTag() { if (tag == null) { tag = new ArrayList(); } return this.tag; } /** * Ruft den Wert der clazz-Eigenschaft ab. * * @return * possible object is * {@link TypeInfo } * */ public TypeInfo getClazz() { return clazz; } /** * Legt den Wert der clazz-Eigenschaft fest. * * @param value * allowed object is * {@link TypeInfo } * */ public void setClazz(TypeInfo value) { this.clazz = value; } /** * Gets the value of the interface property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the interface property. * *

* For example, to add a new item, do as follows: *

     *    getInterface().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TypeInfo } * * */ public List getInterface() { if (_interface == null) { _interface = new ArrayList(); } return this._interface; } /** * Gets the value of the constant property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the constant property. * *

* For example, to add a new item, do as follows: *

     *    getConstant().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link EnumConstant } * * */ public List getConstant() { if (constant == null) { constant = new ArrayList(); } return this.constant; } /** * Gets the value of the annotation property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the annotation property. * *

* For example, to add a new item, do as follows: *

     *    getAnnotation().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AnnotationInstance } * * */ public List getAnnotation() { if (annotation == null) { annotation = new ArrayList(); } return this.annotation; } /** * Ruft den Wert der name-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Legt den Wert der name-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Ruft den Wert der qualified-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getQualified() { return qualified; } /** * Legt den Wert der qualified-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setQualified(String value) { this.qualified = value; } /** * Ruft den Wert der scope-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getScope() { return scope; } /** * Legt den Wert der scope-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setScope(String value) { this.scope = value; } /** * Ruft den Wert der included-Eigenschaft ab. * * @return * possible object is * {@link Boolean } * */ public boolean isIncluded() { if (included == null) { return true; } else { return included; } } /** * Legt den Wert der included-Eigenschaft fest. * * @param value * allowed object is * {@link Boolean } * */ public void setIncluded(Boolean value) { this.included = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy