org.eclipse.uml2
Interface EnumerationLiteral
- All Superinterfaces:
- DeployedArtifact, DeploymentTarget, Element, EModelElement, EObject, InstanceSpecification, NamedElement, Notifier, PackageableElement, ParameterableElement, TemplateableElement
- public interface EnumerationLiteral
- extends InstanceSpecification
A representation of the model object 'Enumeration Literal'.
An enumeration literal is a user-defined data value for an enumeration.
The following features are supported:
- See Also:
UML2Package.getEnumerationLiteral()
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getOwner, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, 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
getEnumeration
public Enumeration getEnumeration()
- Returns the value of the 'Enumeration' container reference.
It is bidirectional and its opposite is '
Owned Literal
'.
If the meaning of the 'Enumeration' container reference isn't clear,
there really should be more of a description here...
Enumeration that this EnumerationLiteral is a member of. Subsets NamedElement:: namespace.
- Returns:
- the value of the 'Enumeration' container reference.
- See Also:
setEnumeration(Enumeration)
,
UML2Package.getEnumerationLiteral_Enumeration()
,
Enumeration.getOwnedLiterals()
setEnumeration
public void setEnumeration(Enumeration value)
- Sets the value of the '
Enumeration
' container reference.
- Parameters:
value
- the new value of the 'Enumeration' container reference.- See Also:
getEnumeration()
getNamespace
public Namespace getNamespace()
-
- Specified by:
getNamespace
in interface NamedElement