Software Disclaimer

Abstract Class UML 2.4.1::TypedElement

Description:

A typed element is a kind of named element that represents an element with a type.A typed element has a type.

Direct Superclasses: NamedElement

Direct Subclasses: ValueSpecification, StructuralFeature, ObjectNode, ConnectableElement

Class Precedence List: TypedElement, NamedElement, Element

Properties:

type : Type (0 1); -- source TypedElement

This information is derived from the return result for this Operation. The type of the TypedElement.

clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement

The name of the NamedElement.

nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
visibility : VisibilityKind (0 1); -- source NamedElement

Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility.

ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

Signature: CMOF_14_3_22() : Boolean;
Description: 14.3 [22] A TypedElement other than a LiteralSpecification or an OpaqueExpression must have a Type see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/typed-element-has-no-type
Expression: not (oclIsKindOf(LiteralSpecification) or oclIsKindOf(OpaqueExpression)) implies type->notEmpty()

Signature: CMOF_14_3_21() : Boolean;
Description: 14.3 [21] A TypedElement cannot be typed by an Association see also: https://sites.google.com/site/metamodelingantipatterns/catalog/mof/typed-element-has-association-type
Expression: not type.oclIsKindOf(Association)

Operations:

No additional operations.



Send questions or comments to [email protected].