|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Enumeration
A representation of the model object 'Enumeration'. An enumeration is a data type whose values are enumerated in the model as enumeration literals.
The following features are supported:
UMLPackage.getEnumeration()| Method Summary | |
|---|---|
EnumerationLiteral |
createOwnedLiteral(java.lang.String name)
Creates a new EnumerationLiteral, with the specified 'Name', and appends it to the 'Owned Literal' containment reference list |
EnumerationLiteral |
getOwnedLiteral(java.lang.String name)
Retrieves the first EnumerationLiteral with the specified 'Name' from the 'Owned Literal' containment reference list |
EnumerationLiteral |
getOwnedLiteral(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first EnumerationLiteral with the specified 'Name' from the 'Owned Literal' containment reference list |
org.eclipse.emf.common.util.EList<EnumerationLiteral> |
getOwnedLiterals()
Returns the value of the 'Owned Literal' containment reference list. |
| Methods inherited from interface org.eclipse.uml2.uml.DataType |
|---|
createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedOperation, createOwnedOperation, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedOperation, getOwnedOperation, getOwnedOperations |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
|---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.uml2.uml.Type |
|---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
|---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.uml2.uml.TemplateableElement |
|---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
| Method Detail |
|---|
org.eclipse.emf.common.util.EList<EnumerationLiteral> getOwnedLiterals()
EnumerationLiteral.
It is bidirectional and its opposite is 'Enumeration'.
This feature subsets the following features:
The ordered set of literals for this Enumeration.
UMLPackage.getEnumeration_OwnedLiteral(),
EnumerationLiteral.getEnumeration()EnumerationLiteral getOwnedLiteral(java.lang.String name)
EnumerationLiteral with the specified 'Name' from the 'Owned Literal' containment reference list.
name - The 'Name' of the EnumerationLiteral to retrieve, or null.
EnumerationLiteral with the specified 'Name', or null.getOwnedLiterals()
EnumerationLiteral getOwnedLiteral(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
EnumerationLiteral with the specified 'Name' from the 'Owned Literal' containment reference list.
name - The 'Name' of the EnumerationLiteral to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a EnumerationLiteral on demand if not found.
EnumerationLiteral with the specified 'Name', or null.getOwnedLiterals()EnumerationLiteral createOwnedLiteral(java.lang.String name)
EnumerationLiteral, with the specified 'Name', and appends it to the 'Owned Literal' containment reference list.
name - The 'Name' for the new EnumerationLiteral, or null.
EnumerationLiteral.getOwnedLiterals()
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||