SysUmlDataModel Class [AX 2012]
The SysUmlDataModel class contains table definitions and integrity constrains only. There are no navigation constraints in this model.
| Method | Description | |
|---|---|---|
| addElement | Adds a UML element to the model structure. (Inherited from SysUmlModel.) |
| addTableGroup | Creates a new instance of the SysUmlPackage class and adds it to the tableGroups map. |
| addUnnamedElement | Adds an un-named element to the model structure. It adds elements to the umlElements list. (Inherited from SysUmlModel.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createRelation | (Inherited from SysUmlModel.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getExternalTables | This method retrieves external tables that are related to the tables enlisted in the _projectTables map. |
| getFieldName | Gets the field name. (Inherited from SysUmlModel.) |
| getNumberOfElements | Returns the number of UML elements. (Inherited from SysUmlModel.) |
| getRelationFields | Returns the relation fields as a string. (Inherited from SysUmlModel.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTypeId | Finds the ID of the type. (Inherited from SysUmlModel.) |
| getUmlTypeId | (Inherited from SysUmlModel.) |
| getUniqueName | Generates unique UML element names. (Inherited from SysUmlModel.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Initializes the model object. (Inherited from SysUmlModel.) |
| isValidatingRelation | Tests if the relationship is a validating relationship. |
| nameExistingAssociation | |
| new | Initializes a new instance of the SysUmlModel class. (Inherited from SysUmlModel.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| packModel | Packs the model elements into a string for transport from the server to the client. (Inherited from SysUmlModel.) |
| reverseEngineer | Reverse engineers the data model in Unified Modeling Language (UML). (Overrides the reverseEngineer Method.) |
| reverseEngineerDataModelField | Reverse engineer a Microsoft Dynamics AX table field value as a UML attribute. |
| reverseEngineerDeleteActions | Reverse engineer delete actions for the specified table. |
| reverseEngineerExtendedDataTypeRelations | Reverse engineers extended data type relations. |
| reverseEngineerFields | Reverse engineers database table fields. |
| reverseEngineerPrimaryIndicies | Reverse engineers fields that are part of unique indices. |
| reverseEngineerPrimaryKeys | Reverse engineers fields that are part primary keys. |
| reverseEngineerTable | Reverse engineer a Microsoft Dynamics AX table definition as a UML class. |
| reverseEngineerTableInheritance | (Inherited from SysUmlModel.) |
| reverseEngineerTables | Reverse engineers all Microsoft Dynamics AX table definitions as UML classes. |
| reverseEngineerUniqueIndicies | Reverse engineers non-primary indices. Adds index to the data model field objects so that field names can be prefixed with index name. |
| reverseEngineerValidatingRelations | Reverse engineers validating relations. Validating relations have the Validate relation property set to 'yes'. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the SysUmlDataModel class. |
| ::getTablePath | Gets the AOT path for the table. |
| ::isActiveField | Drops fields if they are not active. |
| ::isSelfRelation | Evaluates if the specified table and relationship is self related. |
| ::isTablePropertyYes | Tests if the field property is set to Yes. |
This class derives from the SysUmlModel class. It reverse engineers Microsoft Dynamics AX project objects into a Visio UML data model. Only validating relationships are shown in the data model because its purpose is to analyze 3rd normal form and database integrity. See the UML Object Model for navigating (non-validating) relationships.
The following notation is used in the class diagrams generated from elements on the model.
Fields:
-
The fields in a primary key are represented as static (underlined) class attributes.
-
The fields in an index are prefixed by the index name.
-
The fields in a unique index are prefixed by the index name in '{}'.
-
Index names are attribute names are separated by the '--' token.
-
Array fields are shown with array field names in '[]' separated by a ',' token.
Table Relationships
-
Table relationships are represented as a UML aggregation 1..* relationships.
-
The name of the UML association is the name of the relationship.
-
The related fields in the relationship are shown between '{}'.
-
Source table field and target table field relationships are separated by the '+' character.
-
Source table field and target table field names are separated by the ':' character.
Delete Actions
-
Delete actions are represented as UML composition 1..* relationships.
Extended Data Type Relationships
-
Extended data type relationships are represented as UML 1..* associations.