SysUmlRelationship Class [AX 2012]
The SysUmlRelationship class extends SysUmlElement and represents Relationship element.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| format | Returns the UML element format string. This string is used by the toString method. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Initializes an object by using the parameters. |
| new | Initializes a new instance of the SysUmlElement class. (Inherited from SysUmlElement.) |
| 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.) |
| pack | Serializes the current instance of the SysUmlRelationship class. (Overrides the pack Method.) |
| parmId | Gets or sets the Id parameter. (Inherited from SysUmlElement.) |
| parmName | Gets or sets the Name parameter. (Inherited from SysUmlElement.) |
| parmParentId | Gets or sets the ParentId parameter. (Inherited from SysUmlElement.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Converts an object to a string that the Visio UML add-in can import. (Overrides the toString Method.) |
| unpack | Deserializes the packedClass parameter value to an instance of the SysUmlRelationship class. (Overrides the unpack Method.) |
| 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 SysUmlRelationship class. |
| ::create |
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;
}
Community Additions
ADD
Show: