Abstract Class UML 2.5::TypedElement
Description:
A TypedElement is a NamedElement that may have a Type specified for it.
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
NamedElement 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].