Software Disclaimer

Class UML 2.5::EnumerationLiteral

Description:

An EnumerationLiteral is a user-defined data value for an Enumeration.

Direct Superclasses: InstanceSpecification

Direct Subclasses:

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

Properties:

classifier : Enumeration (1 1); -- source EnumerationLiteral
enumeration : Enumeration (1 1); -- source EnumerationLiteral
slot : Slot (0 *); -- source InstanceSpecification
specification : ValueSpecification (0 1); -- source InstanceSpecification
deployedElement : PackageableElement (0 *); -- source DeploymentTarget
deployment : Deployment (0 *); -- source DeploymentTarget
visibility : VisibilityKind (0 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 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: Derivation of Enumeration::/classifier
Expression: result = (enumeration)



Send questions or comments to [email protected].