|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Enumeration'. Enumeration is a kind of data type, whose instances may be any of a number of user-defined enumeration literals. It is possible to extend the set of applicable enumeration literals in other packages or profiles.
The following features are supported:
UML2Package.getEnumeration()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
EnumerationLiteral |
createOwnedLiteral(org.eclipse.emf.ecore.EClass eClass)
Creates a EnumerationLiteral and appends it to the 'Owned Literal' containment reference list |
EnumerationLiteral |
getOwnedLiteral(String unqualifiedName)
Retrieves the EnumerationLiteral with the specified name from the 'Owned Literal' containment reference list |
org.eclipse.emf.common.util.EList |
getOwnedLiterals()
Returns the value of the 'Owned Literal' containment reference list. |
org.eclipse.emf.common.util.EList |
getOwnedMembers()
|
Methods inherited from interface org.eclipse.uml2.DataType |
createOwnedAttribute, createOwnedOperation, getAttributes, getFeatures, getOwnedAttribute, getOwnedAttributes, getOwnedOperation, getOwnedOperations, inherit |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
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, 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.Type |
conformsTo, createAssociation, getNamespace, getPackage |
Methods inherited from interface org.eclipse.uml2.PackageableElement |
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility |
Methods inherited from interface org.eclipse.uml2.ParameterableElement |
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.uml2.RedefinableElement |
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Field Detail |
public static final String copyright
Method Detail |
public org.eclipse.emf.common.util.EList getOwnedLiterals()
EnumerationLiteral
.
It is bidirectional and its opposite is 'Enumeration
'.
If the meaning of the 'Owned Literal' containment reference list isn't clear, there really should be more of a description here...
ordered set of literals for this Enumeration. Subsets Element::ownedMember.
UML2Package.getEnumeration_OwnedLiteral()
,
EnumerationLiteral.getEnumeration()
public EnumerationLiteral getOwnedLiteral(String unqualifiedName)
EnumerationLiteral
with the specified name from the 'Owned Literal' containment reference list.
unqualifiedName
- The unqualified name of the EnumerationLiteral
to retrieve.
EnumerationLiteral
with the specified name, or null
.getOwnedLiterals()
public EnumerationLiteral createOwnedLiteral(org.eclipse.emf.ecore.EClass eClass)
EnumerationLiteral
and appends it to the 'Owned Literal' containment reference list.
eClass
- The Ecore class of the EnumerationLiteral
to create.
EnumerationLiteral
.getOwnedLiterals()
public org.eclipse.emf.common.util.EList getOwnedMembers()
getOwnedMembers
in interface DataType
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |