SysUmlObjectModel Class [AX 2012]
The SysUmlObjectModel class consists of the UML object structure. This class derives from the SysUmlModel class.
| Method | Description | |
|---|---|---|
| addElement | Adds a UML element to the model structure. (Inherited from SysUmlModel.) |
| 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.) |
| createRelationship | Creates a relationship of specified type between two classes, tables, views or interfaces. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getAttributedName | Gets the field name. |
| getExternalTables | Gets 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 Unified Modeling Language (UML) object model with the specified progress control and the selection of what to reverse engineer. (Overrides the init Method.) |
| new | Initializes a new instance of the SysUmlModel class. (Inherited from SysUmlModel.) |
| newUmlClass | Creates a new Unified Modeling Language (UML) class element and adds it into the model. |
| newUmlInterface | Creates a new UML interface element and adds it into the model. |
| 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 a UML model. (Overrides the reverseEngineer Method.) |
| reverseEngineerAttribute | Reverse engineers an attribute. |
| reverseEngineerClass | Reverse engineers a class node. |
| reverseEngineerClassProperties | Reverse engineers class fields and methods. |
| reverseEngineerClassRelationships | Reverse engineers class relationships. |
| reverseEngineerDeleteActions | Reverse engineers table delete actions. Delete actions are represented as binary associations. |
| reverseEngineerField | Reverse engineers a field. |
| reverseEngineerMethod | Reverse engineers a method. |
| reverseEngineerParameters | Reverse engineers object method parameters |
| reverseEngineerProperties | Reverse engineers classes and tables properties |
| reverseEngineerRelationships | Reverse engineers class relationships. |
| reverseEngineerTable | Reverse engineers a table node. |
| reverseEngineerTableInheritance | (Inherited from SysUmlModel.) |
| reverseEngineerTableProperties | |
| reverseEngineerTableRelations | Reverse engineers table relations. |
| 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 SysUmlObjectModel class. |
Reverse engineer Microsoft Dynamics AX project objects into a Visio UML object model. This model shows the navigating and not the validating relationships between objects. See the UML data model for validating relationships.
The development options 'Debug' option must be set to "When breakpoint" if the method argument names are required.
The following notation is used in the class diagrams generated from elements on the model.
Fields
-
Array fields are shown with array field names in '[]' separated by a ',' token.
Table Relationships
-
Table relationships are represented as a UML 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.
The following code example shows the usage of this class.
public void reverseEngineer(
ProjectNode _projectNode,
SysOperationProgress _progressControl,
SysVisioModelType _modelType )
{
SysUmlModel umlModel;
umlModel = SysUmlModel::newUmlModel( _modelType );
umlModel.init( _projectNode, _progressControl );
umlModel.reverseEngineer( );
}