SysUmlAttribute Class [AX 2012]
The SysUmlAttribute class extends SysUmlElement and represents the Attribute element. It can be a class member or a table field
| 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 | Initialize the object with 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 SysUmlAttribute 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 this 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 SysUmlAttribute 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 SysUmlAttribute class. |
| ::create |
public SysUmlAttribute createUmlAttribute(
str _name,
SysGuidString _parentID,
SysGuidString _umlTypeID,
AccessSpecifier _visibility,
str _scope )
{
//Create a UML attribute element
SysUmlAttribute attribute;
attribute = SysUmlElement::newUmlElement(
SysUmlElementType::UmlAttribute );
attribute.init( _name, _parentID, _umlTypeID, _visibility,
_scope );
return attribute;
}
Community Additions
ADD
Show: