Software Disclaimer

Class UML 2.4.1::EnumerationLiteral

Description:

An enumeration literal is a user-defined data value for an enumeration.

Direct Superclasses: InstanceSpecification

Direct Subclasses:

Class Precedence List: EnumerationLiteral, InstanceSpecification, DeployedArtifact, PackageableElement, ParameterableElement, DeploymentTarget, NamedElement, Element

Properties:

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

The set of Deployments for a DeploymentTarget.
{composite}
Subsets: Element.ownedElement, NamedElement.clientDependency
Opposite: Deployment.location

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 Element

Constraints:

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].