Class UML 2.3::DataType
Description:
A data type is a type whose instances are identified only by their value.
A data type may contain attributes to support the modeling of structured
data types.
Direct Superclasses: ClassifierDirect Subclasses: PrimitiveType,
EnumerationClass Precedence List: DataType,
Classifier,
TemplateableElement,
Type,
PackageableElement,
ParameterableElement,
Namespace,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedAttribute :
Property (0 *); -- source
DataType![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedOperation :
Operation (0 *); -- source
DataType![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
general :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
isAbstract : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=175718%3ACF5A760618B1AC1545EAD644FA0DE65A)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_28() : Boolean;
Description: 14.3 [28] A Property owned by a DataType can only be typed by a DataType.
Expression: ownedAttribute.type.oclIsKindOf(DataType)
Operations:
Signature: inherit(inhs : NamedElement; ) : NamedElement;
Description: The inherit operation is overridden to exclude redefined properties.
The OCL used here is not normative.Editor's notes: reject not excluding. The operation Classifier.inhertedMember,
redefined to eliminate non-progressing recursion, does not use inherit.
Something similar should occur here. But I haven't written it yet.
See Class.inherit, Classifier.inherit. Needs further study!
Expression: result = inhs->reject(inh | ownedMember->select(oclIsKindOf(RedefinableElement))->select(redefinedElement->includes(inh)))
Original: result = inhs->excluding(inh | ownedMember->select(oclIsKindOf(RedefinableElement))->select(redefinedElement->includes(inh)))
Send questions or comments to
[email protected].