SysUmlDataModel Class [AX 2012]

The SysUmlDataModel class contains table definitions and integrity constrains only. There are no navigation constraints in this model.

class SysUmlDataModel extends SysUmlModel

Run On

Server

  MethodDescription
Gg966803.pubmethod(en-us,AX.60).gif addElement Adds a UML element to the model structure. (Inherited from SysUmlModel.)
Gg966803.privmethod(en-us,AX.60).gif addTableGroup Creates a new instance of the SysUmlPackage class and adds it to the tableGroups map.
Gg966803.pubmethod(en-us,AX.60).gif addUnnamedElement Adds an un-named element to the model structure. It adds elements to the umlElements list. (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg966803.protmethod(en-us,AX.60).gif createRelation (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg966803.privmethod(en-us,AX.60).gif getExternalTables This method retrieves external tables that are related to the tables enlisted in the _projectTables map.
Gg966803.protmethod(en-us,AX.60).gif getFieldName Gets the field name. (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif getNumberOfElements Returns the number of UML elements. (Inherited from SysUmlModel.)
Gg966803.protmethod(en-us,AX.60).gif getRelationFields Returns the relation fields as a string. (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg966803.protmethod(en-us,AX.60).gif getTypeId Finds the ID of the type. (Inherited from SysUmlModel.)
Gg966803.protmethod(en-us,AX.60).gif getUmlTypeId (Inherited from SysUmlModel.)
Gg966803.protmethod(en-us,AX.60).gif getUniqueName Generates unique UML element names. (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif init Initializes the model object. (Inherited from SysUmlModel.)
Gg966803.privmethod(en-us,AX.60).gif isValidatingRelation Tests if the relationship is a validating relationship.
Gg966803.protmethod(en-us,AX.60).gif nameExistingAssociation
Gg966803.protmethod(en-us,AX.60).gif new Initializes a new instance of the SysUmlModel class. (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif packModel Packs the model elements into a string for transport from the server to the client. (Inherited from SysUmlModel.)
Gg966803.pubmethod(en-us,AX.60).gif reverseEngineer Reverse engineers the data model in Unified Modeling Language (UML). (Overrides the reverseEngineer Method.)
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerDataModelField Reverse engineer a Microsoft Dynamics AX table field value as a UML attribute.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerDeleteActions Reverse engineer delete actions for the specified table.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerExtendedDataTypeRelations Reverse engineers extended data type relations.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerFields Reverse engineers database table fields.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerPrimaryIndicies Reverse engineers fields that are part of unique indices.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerPrimaryKeys Reverse engineers fields that are part primary keys.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerTable Reverse engineer a Microsoft Dynamics AX table definition as a UML class.
Gg966803.protmethod(en-us,AX.60).gif reverseEngineerTableInheritance (Inherited from SysUmlModel.)
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerTables Reverse engineers all Microsoft Dynamics AX table definitions as UML classes.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerUniqueIndicies Reverse engineers non-primary indices. Adds index to the data model field objects so that field names can be prefixed with index name.
Gg966803.privmethod(en-us,AX.60).gif reverseEngineerValidatingRelations Reverse engineers validating relations. Validating relations have the Validate relation property set to 'yes'.
Gg966803.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg966803.pubmethod(en-us,AX.60).gif Gg966803.static(en-us,AX.60).gif ::construct Initializes a new instance of the SysUmlDataModel class.
Gg966803.privmethod(en-us,AX.60).gif Gg966803.static(en-us,AX.60).gif ::getTablePath Gets the AOT path for the table.
Gg966803.pubmethod(en-us,AX.60).gif Gg966803.static(en-us,AX.60).gif ::isActiveField Drops fields if they are not active.
Gg966803.pubmethod(en-us,AX.60).gif Gg966803.static(en-us,AX.60).gif ::isSelfRelation Evaluates if the specified table and relationship is self related.
Gg966803.pubmethod(en-us,AX.60).gif Gg966803.static(en-us,AX.60).gif ::isTablePropertyYes Tests if the field property is set to Yes.
Top

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.

public void reverseEngineer( 
    SysVisioModelProvider _modelProvider, 
    SysOperationProgress _progressControl, 
    SysUmlModeltype _DataModel) 
{ 
    SysUmlModel umlModel; 
 
    umlModel = SysUmlModel::newUmlModel( _DataModel ); 
    umlModel.init(_progressControl, _modelProvider); 
    umlModel.reverseEngineer(); 
}

Object Class
  SysUmlModel Class
    SysUmlDataModel Class

Community Additions

ADD
Show: