Previous Table of Contents Next


11.6 DataTypes Diagram

   The DataTypes diagram of the Constructs package specifies the DataType, Enumeration, EnumerationLiteral, and PrimitiveType constructs, and adds features to the Property and Operation constructs. These constructs are used for defining primitive data types (such as Integer and String) and user-defined enumeration data types. The data types are typically used for declaring the types of the class attributes.

   


Classifier

   datatype ownedAttribute


Property

   


{subsets namespace, {ordered

subsets featuringClassifier, subsets attribute, subsets classifier} subsets ownedMember}

   datatype ownedOperation


Operation

   



{subsets redefinitionContext, {ordered subsets namespace, subsets feature, subsets featuringClassifier} subsets ownedMember}

   


NamedElement

   enumeration ownedLiteral

   





Figure 11.18 -The classes defined in the DataTypes diagram

   {subsets namespace} {subsets ownedMember, ordered}