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

com.github.markusbernhardt.xmldoclet.xjc.AnnotationArgument 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.XmlType;


/**
 * 

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

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

 * <complexType name="annotationArgument">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="type" type="{}typeInfo" minOccurs="0"/>
 *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="primitive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="array" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "annotationArgument", propOrder = { "type", "value" }) public class AnnotationArgument { protected TypeInfo type; protected List value; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "primitive") protected Boolean primitive; @XmlAttribute(name = "array") protected Boolean array; /** * Ruft den Wert der type-Eigenschaft ab. * * @return * possible object is * {@link TypeInfo } * */ public TypeInfo getType() { return type; } /** * Legt den Wert der type-Eigenschaft fest. * * @param value * allowed object is * {@link TypeInfo } * */ public void setType(TypeInfo value) { this.type = value; } /** * Gets the value of the value 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 value property. * *

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

     *    getValue().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getValue() { if (value == null) { value = new ArrayList(); } return this.value; } /** * 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 primitive-Eigenschaft ab. * * @return * possible object is * {@link Boolean } * */ public boolean isPrimitive() { if (primitive == null) { return false; } else { return primitive; } } /** * Legt den Wert der primitive-Eigenschaft fest. * * @param value * allowed object is * {@link Boolean } * */ public void setPrimitive(Boolean value) { this.primitive = value; } /** * Ruft den Wert der array-Eigenschaft ab. * * @return * possible object is * {@link Boolean } * */ public boolean isArray() { if (array == null) { return false; } else { return array; } } /** * Legt den Wert der array-Eigenschaft fest. * * @param value * allowed object is * {@link Boolean } * */ public void setArray(Boolean value) { this.array = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy