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=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedAttribute :
Property (0 *); -- source
DataType![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedOperation :
Operation (0 *); -- source
DataType![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/right-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
feature :
Feature (0 *); -- source
Classifier Specifies each feature defined in the classifier.
{
readonly}
Derived union with sources: (attribute, ownedOperation, ownedAttribute)
Subsets: Namespace.member
Opposite: Feature.featuringClassifier
![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
general :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
isAbstract : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/right-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
ownedElement :
Element (0 *); -- source
Element The Elements owned by this element.
{
composite,
readonly}
Derived union with sources: (ownedComment, nameExpression, packageImport, ownedRule, ownedMember, elementImport, templateBinding, substitution, ownedUseCase, ownedTemplateSignature, generalization, collaborationUse, ownedOperation, ownedAttribute)
Opposite: Element.owner
![](/se-interop/image/down-arrow.png?hunchentoot-session=120347%3AB11B5EB7ADD8DA724B787FACC57FA587)
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].