org.eclipse.emf._2002.ecore
Class EEnum

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.EModelElement
      extended by org.eclipse.emf._2002.ecore.ENamedElement
          extended by org.eclipse.emf._2002.ecore.EClassifier
              extended by org.eclipse.emf._2002.ecore.EDataType
                  extended by 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>
 


Field Summary
protected  List<EEnumLiteral> eLiterals
           
 
Fields inherited from class org.eclipse.emf._2002.ecore.EDataType
serializable
 
Fields inherited from class org.eclipse.emf._2002.ecore.EClassifier
defaultValue, eTypeParameters, instanceClass, instanceClassName, instanceTypeName
 
Fields inherited from class org.eclipse.emf._2002.ecore.ENamedElement
name
 
Fields inherited from class org.eclipse.emf._2002.ecore.EModelElement
eAnnotations
 
Constructor Summary
EEnum()
           
 
Method Summary
 List<EEnumLiteral> getELiterals()
          Gets the value of the eLiterals property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.eclipse.emf._2002.ecore.EDataType
getSerializable, setSerializable
 
Methods inherited from class org.eclipse.emf._2002.ecore.EClassifier
getDefaultValue, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, setDefaultValue, setInstanceClass, setInstanceClassName, setInstanceTypeName
 
Methods inherited from class org.eclipse.emf._2002.ecore.ENamedElement
getName, setName
 
Methods inherited from class org.eclipse.emf._2002.ecore.EModelElement
getEAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

eLiterals

protected List<EEnumLiteral> eLiterals
Constructor Detail

EEnum

public EEnum()
Method Detail

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.