org.eclipse.emf._2002.ecore
Class EEnum
java.lang.Object
org.eclipse.emf._2002.ecore.EModelElement
org.eclipse.emf._2002.ecore.ENamedElement
org.eclipse.emf._2002.ecore.EClassifier
org.eclipse.emf._2002.ecore.EDataType
org.eclipse.emf._2002.ecore.EEnum
- All Implemented Interfaces:
- org.jvnet.jaxb2_commons.lang.ToString
public class EEnum
- extends EDataType
- implements org.jvnet.jaxb2_commons.lang.ToString
Java class for EEnum complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EEnum">
<complexContent>
<extension base="{http://www.eclipse.org/emf/2002/Ecore}EDataType">
<sequence>
<element name="eLiterals" type="{http://www.eclipse.org/emf/2002/Ecore}EEnumLiteral" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
|
Constructor Summary |
EEnum()
|
eLiterals
protected List<EEnumLiteral> eLiterals
EEnum
public EEnum()
getELiterals
public List<EEnumLiteral> getELiterals()
- Gets the value of the eLiterals 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 eLiterals property.
For example, to add a new item, do as follows:
getELiterals().add(newItem);
Objects of the following type(s) are allowed in the list
EEnumLiteral
toString
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
- Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString- Overrides:
toString in class EDataType
toString
public String toString()
- Overrides:
toString in class EDataType
Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.