SysUmlRelationship Class [AX 2012]

The SysUmlRelationship class extends SysUmlElement and represents Relationship element.

class SysUmlRelationship extends SysUmlElement

Run On

Called

  MethodDescription
Gg955108.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg955108.protmethod(en-us,AX.60).gif format Returns the UML element format string. This string is used by the toString method.
Gg955108.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif init Initializes an object by using the parameters.
Gg955108.protmethod(en-us,AX.60).gif new Initializes a new instance of the SysUmlElement class. (Inherited from SysUmlElement.)
Gg955108.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.)
Gg955108.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.)
Gg955108.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the SysUmlRelationship class. (Overrides the pack Method.)
Gg955108.pubmethod(en-us,AX.60).gif parmId Gets or sets the Id parameter. (Inherited from SysUmlElement.)
Gg955108.pubmethod(en-us,AX.60).gif parmName Gets or sets the Name parameter. (Inherited from SysUmlElement.)
Gg955108.pubmethod(en-us,AX.60).gif parmParentId Gets or sets the ParentId parameter. (Inherited from SysUmlElement.)
Gg955108.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif toString Converts an object to a string that the Visio UML add-in can import. (Overrides the toString Method.)
Gg955108.pubmethod(en-us,AX.60).gif unpack Deserializes the packedClass parameter value to an instance of the SysUmlRelationship class. (Overrides the unpack Method.)
Gg955108.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.)
Gg955108.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg955108.pubmethod(en-us,AX.60).gif Gg955108.static(en-us,AX.60).gif ::construct Initializes a new instance of the SysUmlRelationship class.
Gg955108.pubmethod(en-us,AX.60).gif Gg955108.static(en-us,AX.60).gif ::create
Top

A UML relationship is a connection between objects. This class is used by the Visio Reverse Engineering features to represent and format UML relationship elements.

This object represents Microsoft Dynamics AX object relationships that are being reverse engineered into a Visio UML model.

public SysUmlRelationship createUmlRelationship( 
    SysGuidString _parentID, 
    SysGuidString _sourceUmlClassID, 
    SysGuidString _targetUmlClassID, 
    SysUmlRelationshipType _relationshipType ) 
{ 
       //Create a UML relationship element 
       SysUmlRelationship relationship; 
 
       relationship = SysUmlElement::newUmlElement( 
             SysUmlElementType::UmlRelationship ); 
       relationship.init( _parentID, _sourceUmlClassID, 
             _targetUmlClassID, _relationshipType ); 
       return relationship;   
}

Object Class
  SysUmlElement Class
    SysUmlRelationship Class

Community Additions

ADD
Show: