SysUmlObjectModel Class [AX 2012]

The SysUmlObjectModel class consists of the UML object structure. This class derives from the SysUmlModel class.

class SysUmlObjectModel extends SysUmlModel

Run On

Server

  MethodDescription
Gg966896.pubmethod(en-us,AX.60).gif addElement Adds a UML element to the model structure. (Inherited from SysUmlModel.)
Gg966896.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.)
Gg966896.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg966896.protmethod(en-us,AX.60).gif createRelation (Inherited from SysUmlModel.)
Gg966896.privmethod(en-us,AX.60).gif createRelationship Creates a relationship of specified type between two classes, tables, views or interfaces.
Gg966896.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg966896.privmethod(en-us,AX.60).gif getAttributedName Gets the field name.
Gg966896.privmethod(en-us,AX.60).gif getExternalTables Gets external tables that are related to the tables enlisted in the _projectTables map.
Gg966896.protmethod(en-us,AX.60).gif getFieldName Gets the field name. (Inherited from SysUmlModel.)
Gg966896.pubmethod(en-us,AX.60).gif getNumberOfElements Returns the number of UML elements. (Inherited from SysUmlModel.)
Gg966896.protmethod(en-us,AX.60).gif getRelationFields Returns the relation fields as a string. (Inherited from SysUmlModel.)
Gg966896.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg966896.protmethod(en-us,AX.60).gif getTypeId Finds the ID of the type. (Inherited from SysUmlModel.)
Gg966896.protmethod(en-us,AX.60).gif getUmlTypeId (Inherited from SysUmlModel.)
Gg966896.protmethod(en-us,AX.60).gif getUniqueName Generates unique UML element names. (Inherited from SysUmlModel.)
Gg966896.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg966896.pubmethod(en-us,AX.60).gif 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.)
Gg966896.protmethod(en-us,AX.60).gif new Initializes a new instance of the SysUmlModel class. (Inherited from SysUmlModel.)
Gg966896.privmethod(en-us,AX.60).gif newUmlClass Creates a new Unified Modeling Language (UML) class element and adds it into the model.
Gg966896.privmethod(en-us,AX.60).gif newUmlInterface Creates a new UML interface element and adds it into the model.
Gg966896.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.)
Gg966896.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.)
Gg966896.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg966896.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg966896.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.)
Gg966896.pubmethod(en-us,AX.60).gif reverseEngineer Reverse engineers a UML model. (Overrides the reverseEngineer Method.)
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerAttribute Reverse engineers an attribute.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerClass Reverse engineers a class node.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerClassProperties Reverse engineers class fields and methods.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerClassRelationships Reverse engineers class relationships.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerDeleteActions Reverse engineers table delete actions. Delete actions are represented as binary associations.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerField Reverse engineers a field.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerMethod Reverse engineers a method.
Gg966896.pubmethod(en-us,AX.60).gif reverseEngineerParameters Reverse engineers object method parameters
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerProperties Reverse engineers classes and tables properties
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerRelationships Reverse engineers class relationships.
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerTable Reverse engineers a table node.
Gg966896.protmethod(en-us,AX.60).gif reverseEngineerTableInheritance (Inherited from SysUmlModel.)
Gg966896.pubmethod(en-us,AX.60).gif reverseEngineerTableProperties
Gg966896.privmethod(en-us,AX.60).gif reverseEngineerTableRelations Reverse engineers table relations.
Gg966896.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg966896.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg966896.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.)
Gg966896.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg966896.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg966896.pubmethod(en-us,AX.60).gif Gg966896.static(en-us,AX.60).gif ::construct Initializes a new instance of the SysUmlObjectModel class.
Top

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( );
}

Object Class
  SysUmlModel Class
    SysUmlObjectModel Class

Community Additions

ADD
Show: