org.plasma.metamodel.EnumerationLiteral Maven / Gradle / Ivy
Show all versions of plasma-metamodel Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.11 at 01:59:49 PM MST
//
package org.plasma.metamodel;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* An enumeration literal definition
*
* Java class for EnumerationLiteral complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EnumerationLiteral">
* <complexContent>
* <extension base="{http://plasma.org/metamodel}NamedElement">
* <sequence>
* <element ref="{http://plasma.org/metamodel}Documentation" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnumerationLiteral", propOrder = {
"documentations"
})
@XmlRootElement(name = "EnumerationLiteral")
public class EnumerationLiteral
extends NamedElement
{
@XmlElement(name = "Documentation", required = true)
protected List documentations;
@XmlAttribute(name = "value", required = true)
protected String value;
/**
* Gets the value of the documentations 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 documentations property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Documentation }
*
*
*/
public List getDocumentations() {
if (documentations == null) {
documentations = new ArrayList();
}
return this.documentations;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}