com.github.markusbernhardt.xmldoclet.xjc.Annotation 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.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.XmlType;
/**
* Java-Klasse für annotation complex type.
*
*
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
*
* <complexType name="annotation">
* <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="element" type="{}annotationElement" 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 = "annotation", propOrder = {
"comment",
"tag",
"element",
"annotation"
})
public class Annotation {
protected String comment;
protected List tag;
protected List element;
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;
}
/**
* Gets the value of the element 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 element property.
*
*
* For example, to add a new item, do as follows:
*
* getElement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AnnotationElement }
*
*
*/
public List getElement() {
if (element == null) {
element = new ArrayList();
}
return this.element;
}
/**
* 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;
}
}