Objects and properties generated from the UML-to-logical data model transformation

The UML-to-logical data model transformation generates objects and properties for the logical data model from UML model elements.

The following table shows the correspondence between UML objects and objects and properties for logical data models.

Table 1. Mappings from UML to logical data model
UML element or property Logical data model object or property
Association Relationship
Association - Abstract Not applicable
Association - Derived Not applicable
Association - Documentation Documentation
Association - Leaf Not applicable
Association - Name Name
Association - Owner Owner
Association - ParentDeleteRule (LogicalDataModel::Relationship) Relationship - DeleteAction for parent end
Association - Stereotype Not applicable
Association - Type (Composition, Aggregation, Simple)
  • Relationship - type (identifying, non-identifying, many to many)
  • Relationship - existence (optional, mandatory)
  • Relationship - cardinality (zero or more, one or more, zero or one, exactly one, range)
Association - Visibility Not applicable
AssociationClass Entity plus two associated relationships
AssociationClass - Abstract Not applicable
AssociationClass - Derived Not applicable
AssociationClass - Documentation Documentation
AssociationClass - Leaf Not applicable
AssociationClass - Name Name
AssociationClass - Owner Owner
AssociationClass - Stereotype Not applicable
AssociationClass - Type (Composition, Aggregation, Simple)
  • Relationship - type (identifying, non-identifying, many to many)
  • Relationship - existence (optional, mandatory)
  • Relationship - cardinality (zero or more, one or more, zero or one, exactly one, range)
AssociationClass - Visibility Not applicable
Class Entity - Inner classes are not transformed. If the logical data model profile is applied, classes that are not stereotyped as <<Entity>> are not transformed. All associations related to such classes are also not transformed.
Class - Abstract Not applicable
Class - Default (persistent), or persistent (LogicalDataModel:: Entity) Persistent (true, false)
Class - Documentation Documentation
Class - Leaf Not applicable
Class - Name Name
Class - Owner Owner
Class - Stereotype Not applicable
Class - Visibility Not applicable
Class - Default (UseSurrogateKey), or UseSurrogateKey (LogicalDataModel:: Entity) SurrogateKey
Class constraint Entity constraint
Class constraint - Body Expression
Class constraint - Documentation Documentation
Class constraint - Language
  • Language
  • PhysicalOption (set to CHECK_CONSTRAINT if the language is SQL)
Class constraint - Name Name
Enumeration Atomic domain - Inner enumerations are not transformed. If the logical data model profile is applied, enumerations that are not stereotyped as <<Domain>> are not transformed.
Enumeration - BaseType (LogicalDataModel:: Domain) BaseType
Enumeration - DefaultValue (LogicalDataModel:: Domain) Not applicable
Enumeration - Documentation Documentation
Enumeration - EnumerationLiterals Enumeration values of domain constraint
Enumeration - Length (LogicalDataModel:: Domain) Length
Enumeration - Name Name
Enumeration - Owner Owner
Enumeration - Precision (LogicalDataModel:: Domain) Precision
Enumeration - Required (LogicalDataModel:: Domain) Not applicable
Enumeration - Scale (LogicalDataModel:: Domain) Scale
Enumeration - Visibility Not applicable
Generalization Generalization
Generalization - Stereotype Not applicable
Model Package (root)
Model - Documentation Documentation
Model - Name Name
Model - Stereotype Not applicable
Model - Visibility Not applicable
Package Package (root if the UML package is the source of transformation)
Package - Documentation Documentation
Package - Name Name
Package - Nesting package Parent
Package - Stereotype Not applicable
Package - Visibility Not applicable
Primitive type Atomic domain (If the Logical Data Model profile is applied, primitive types that are not stereotyped as <<Domain>> are not transformed.
Primitive type - BaseType (LogicalDataModel:: Domain) BaseType
Primitive type - DefaultValue (LogicalDataModel:: Domain) Not applicable
Primitive type - Documentation Documentation
Primitive type - Length (LogicalDataModel:: Domain) Length
Primitive type - Name Name
Primitive type - Owner Owner
Primitive type - Precision (LogicalDataModel:: Domain Precision
Primitive type - Required (LogicalDataModel:: Domain) Not applicable
Primitive type - Scale (LogicalDataModel:: Domain) Scale
Primitive type - Visibility Not applicable
Property Attribute
Property - Documentation Documentation
Property - Name Name
Property - Owner Entity
Property - PrimaryKey (LogicalDataModel), OID (XDE_Logical_Data_Model:: Candidate_Key), or EJBPrimaryKeyField (XDE_EJB) Primary Key
Property - Qualifiers Not applicable
Property - Stereotype Not applicable
Property - Type Data type, length/precision, scale
Property - Type (Class) Non-identifying, mandatory relationship with the entity that corresponds to the owner class of the property as parent and the entity that corresponds to the type class of the property as child. The multiplicity of the property determines the cardinality of the child relationship end.
Property - Visibility Not applicable
Role RelationshipEnd
Role - Multiplicity (“0..1”, “1”, “*”, “1..*”) Cardinality of relationship
Role - Name VerbPhrase or Inverse VerbPhrase
Role - Type of Association Relationship type of relationship
Role - Visibility of Association Not applicable

Feedback