Class UML 2.4.1::EnumerationLiteral
Description:
An enumeration literal is a user-defined data value for an enumeration.
Direct Superclasses: InstanceSpecificationDirect Subclasses: Class Precedence List: EnumerationLiteral,
InstanceSpecification,
DeployedArtifact,
PackageableElement,
ParameterableElement,
DeploymentTarget,
NamedElement,
ElementProperties:
classifier :
Enumeration (1 1); -- source
EnumerationLiteral enumeration :
Enumeration (0 1); -- source
EnumerationLiteral slot :
Slot (0 *); -- source
InstanceSpecification specification :
ValueSpecification (0 1); -- source
InstanceSpecification visibility :
VisibilityKind (1 1); -- source
PackageableElement owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement deployedElement :
PackageableElement (0 *); -- source
DeploymentTarget deployment :
Deployment (0 *); -- source
DeploymentTarget clientDependency :
Dependency (0 *); -- source
NamedElement name : String (0 1); -- source
NamedElement nameExpression :
StringExpression (0 1); -- source
NamedElement namespace :
Namespace (0 1); -- source
NamedElement qualifiedName : String (0 1); -- source
NamedElement ownedComment :
Comment (0 *); -- source
ElementThe Comments owned by this element.
{
composite}
Subsets: Element.ownedElement
ownedElement :
Element (0 *); -- source
Element owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_19() : Boolean;
Description: 14.3 [19] An EnumerationLiteral must not have a ValueSpecification
see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/enumeration-literal-has-specification
Expression: specification->isEmpty()
Operations:
Signature: classifier.1() : Enumeration;
Description: The OCL used here is not normative.Editor's notes: Pursuant to 2013-05-06 MIWG Telecon, created this derivation and removed
the constraint classifier_equals_owning_enumeration.
Expression: enumeration
Original: classifier = enumeration
Send questions or comments to
[email protected].