Class UML 2.3::EnumerationLiteral
Description:
An enumeration literal is a user-defined data value for an enumeration.
Direct Superclasses: InstanceSpecificationDirect Subclasses: Class Precedence List: EnumerationLiteral,
InstanceSpecification,
DeployedArtifact,
DeploymentTarget,
PackageableElement,
ParameterableElement,
NamedElement,
ElementProperties:
enumeration :
Enumeration (0 1); -- source
EnumerationLiteral classifier :
Classifier (0 *); -- source
InstanceSpecification slot :
Slot (0 *); -- source
InstanceSpecification A slot giving the value or values of a structural feature of the instance.
An instance specification can have one slot per structural feature of its
classifiers, including inherited features. It is not necessary to model
a slot for each structural feature, in which case the instance specification
is a partial description.
{
composite}
Subsets: Element.ownedElement
Opposite: Slot.owningInstance
specification :
ValueSpecification (0 1); -- source
InstanceSpecification deployedElement :
PackageableElement (0 *); -- source
DeploymentTarget deployment :
Deployment (0 *); -- source
DeploymentTarget visibility :
VisibilityKind (1 1); -- source
PackageableElement owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement 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
Element 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:
No additional operations.
Send questions or comments to
[email protected].