org.apache.openejb.jee.was.v6.ecore
Class EEnum

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.ecore.EObject
      extended by org.apache.openejb.jee.was.v6.ecore.EModelElement
          extended by org.apache.openejb.jee.was.v6.ecore.ENamedElement
              extended by org.apache.openejb.jee.was.v6.ecore.EClassifier
                  extended by org.apache.openejb.jee.was.v6.ecore.EDataType
                      extended by org.apache.openejb.jee.was.v6.ecore.EEnum

public class EEnum
extends EDataType

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">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="eLiterals" type="{http://www.eclipse.org/emf/2002/Ecore}EEnumLiteral"/>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<EEnumLiteral> eLiterals
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EDataType
serializable
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EClassifier
instanceClassName
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
name
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
eAnnotations
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
extensions, href, id, idref, label, type, uuid, version
 
Constructor Summary
EEnum()
           
 
Method Summary
 List<EEnumLiteral> getELiterals()
          Gets the value of the eLiterals property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EDataType
isSerializable, setSerializable
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EClassifier
getInstanceClassName, setInstanceClassName
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
getName, setName
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
getEAnnotations
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
getExtensions, getHref, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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



Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.