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: NamedElementDirect Subclasses: ValueSpecification,
StructuralFeature,
ObjectNode,
ConnectableElementClass Precedence List: TypedElement,
NamedElement,
ElementProperties:
type :
Type (0 1); -- source
TypedElement 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 visibility :
VisibilityKind (0 1); -- source
NamedElementDetermines 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
ElementConstraints:
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].