com.github.markusbernhardt.xmldoclet.xjc.EnumConstant Maven / Gradle / Ivy
//
// 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.18 um 03:56:47 PM CEST
//
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.XmlType;
/**
* Java-Klasse für enumConstant complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="enumConstant">
* <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="annotation" type="{}annotationInstance" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "enumConstant", propOrder = {
"comment",
"tag",
"annotation"
})
public class EnumConstant {
protected String comment;
protected List tag;
protected List annotation;
@XmlAttribute(name = "name")
protected String name;
/**
* 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;
}
/**
* 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;
}
}