SysUmlBinaryAssociation Class [AX 2012]
The SysUmlBinaryAssociation class extends SysUmlElement and represents a Binary association element. It contains 2 instances of the SysUmlAssociationEnd class: source and target
| 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 parameters. It creates two instances of SysUmlAssociationEnd: sourceEnd and targetEnd. |
| 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 SysUmlBinaryAssociation 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.) |
| parmSourceEnd | Gets the SourceEnd parameter. |
| parmTargetEnd | Gets the TargetEnd parameter. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Creates the import string description of the element. (Overrides the toString Method.) |
| unpack | Deserializes the packedClass parameter value to an instance of the SysUmlBinaryAssociation 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 SysUmlBinaryAssociation class. |
| ::create |
A UML binary association specifies a relationship between objects. This class is used by the Visio Reverse Engineering features to represent and format UML binary association elements.
This object represents Microsoft Dynamics AX relationship nodes that are being reverse engineered into a Visio UML model.
public SysUmlBinaryAssociation createUmlBinaryAssociation(
str _name,
SysGuidString _parentId,
str _sourceName,
SysGuidString _sourceParentGuid,
str _targetName,
SysGuidString _targetParentGuid)
{
//Create a UML binary association element
SysUmlBinaryAssociation association;
association = SysUmlElement::newUmlElement(
SysUmlElementType::UmlBinaryAssociation );
association.init( _name, _parentId, _sourceName, _sourceParentGuid,
_targetName, _targetParentGuid );
return association;
}
Community Additions
ADD
Show: