org.eclipse.uml2
Interface Enumeration
- All Superinterfaces:
- Classifier, DataType, Element, EModelElement, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, TemplateableElement, Type
- public interface Enumeration
- extends DataType
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:
- See Also:
UML2Package.getEnumeration()
Methods inherited from interface org.eclipse.uml2.Classifier |
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getClientDependencies, getFeature, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedElements, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRedefinedElements, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inheritableMembers, inheritedMember, isAbstract, maySpecializeType, parents, setIsAbstract, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType |
Methods inherited from interface org.eclipse.uml2.Namespace |
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable |
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.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.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
getOwnedLiterals
public EList getOwnedLiterals()
- Returns the value of the 'Owned Literal' containment reference list.
The list contents are of type
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.
- Returns:
- the value of the 'Owned Literal' containment reference list.
- See Also:
UML2Package.getEnumeration_OwnedLiteral()
,
EnumerationLiteral.getEnumeration()
getOwnedLiteral
public EnumerationLiteral getOwnedLiteral(String unqualifiedName)
- Retrieves the
EnumerationLiteral
with the specified name from the 'Owned Literal' containment reference list.
- Parameters:
unqualifiedName
- The unqualified name of the EnumerationLiteral
to retrieve.
- Returns:
- The
EnumerationLiteral
with the specified name, or null
. - See Also:
getOwnedLiterals()
createOwnedLiteral
public EnumerationLiteral createOwnedLiteral(EClass eClass)
- Creates a
EnumerationLiteral
and appends it to the 'Owned Literal' containment reference list.
- Parameters:
eClass
- The Ecore class of the EnumerationLiteral
to create.
- Returns:
- The new
EnumerationLiteral
. - See Also:
getOwnedLiterals()
getOwnedMembers
public EList getOwnedMembers()
-
- Specified by:
getOwnedMembers
in interface DataType