Action node (automation interface)
An Action Node is the Modeler Automation Interface object for the following Modeler items:
• Accept Event Action
• Add Structural Feature Value Action
• Call Behavior Action
• Call Operation Action
• Clear Association Action
• Clear Structural Feature Action
• Create Link Action
• Create Object Action
• Destroy Link Action
• Destroy Object Action
• Opaque Action
• Read Extent Action
• Read Link Action
• Read Self Action
• Read Structural Feature Action
• Remove Structural Feature Value Action
• Send Signal Action
• Test Identity Action
• Value Specification Action
|
To create an Action Node through the Modeler Automation Interface, you must use the AddByType function. For more information, see topic
Add By Type.
|
ATTRIBUTES:
Body
A rich text property that specifies the action in one or more languages as rich text. You can specify the languages used in the body through the Languages attribute.
The Body attribute applies only when the Node Type attribute is set to Opaque Action or Value Specification Action.
Access is read/write.
Description
A textual property that gives an overview of the dictionary item.
Access is read/write.
Effective Language
A derived string that specifies the Code Editor language that is used to edit the Body property of an Action Node in Modeler when no value is set for the Language attribute.
If the Language and Effective Language attributes are both blank, the Code Editor uses the default language of C++.
When a value is set for the Language attribute, the Effective Language attribute is blank.
For information about how the Code Editor language can be derived, click here
Access is read-only.
Language
A string that specifies the Code Editor language that is used to edit the Body property of an Action Node.
The Language attribute applies only when the Node Type attribute is set to Opaque Action or Value Specification Action.
If no Language value is set, the Code Editor uses the language that is specified by the derived Effective Language attribute.
For information about the supported languages, click here
Access is read/write.
Is Destroy Links
A Boolean property that specifies whether links in which the object participates are destroyed along with the object. Possible values are TRUE or FALSE.
The Is Destroy Links attribute applies only when the Node Type attribute is set to Destroy Object Action.
Access is read/write.
Is Destroy Owned Objects
A Boolean property that specifies whether objects owned by the object through composite aggregation are destroyed along with the object. Possible values are TRUE or FALSE.
The Is Destroy Owned Object attribute applies only when the Node Type attribute is set to Destroy Object Action.
Access is read/write.
Is Replace All
A Boolean property that specifies whether existing values of the structural feature of the object should be removed before adding the new value. Possible values are TRUE or FALSE.
The Is Remove Duplicate attribute applies only when the Node Type attribute is set to Add Structural Feature Value Action.
Access is read/write.
Is Remove Duplicates
A Boolean property that specifies whether to remove duplicates of the value in non-unique structural features. Possible values are TRUE or FALSE.
The Is Remove Duplicate attribute applies only when the Node Type attribute is set to Remove Structural Feature Value Action.
Access is read/write.
Is Synchronous
A Boolean property that specifies whether the Action Node is synchronous or asynchronous. Possible values are TRUE or FALSE.
Access is read/write.
Is Unmarshall
A Boolean property that indicates whether there is a single Output Pin for the Event, or multiple Output Pins for attributes of the Event. Possible values are TRUE or FALSE.
The Is Unmarshall attribute applies only when the Action Node is an Accept Event Action, that is, the Node Type is Accept Event Action; and then only when the Event Trigger of the linked Event is Signal Event.
Access is read/write.
Node Type
A string that specifies what type of Modeler item the Action Node is. Possible values are as follows:
• Accept Event Action
• Add Structural Feature Value Action
• Call Behavior Action
• Call Operation Action
• Clear Association Action
• Clear Structural Feature Action
• Create Link Action
• Create Object Action
• Destroy Link Action
• Destroy Object Action
• Opaque Action
• Read Extent Action
• Read Link Action
• Read Self Action
• Read Structural Feature Action
• Remove Structural Feature Value Action
• Send Signal Action
• Test Identity Action
• Value Specification Action
ASSOCIATIONS:
Action Node Linked Item
Relationship to the item that is linked to the Action Node as the Linked Item.
See also, Called Behavior, Called Operation, Signal and Trigger.
Multiplicity is 1, access is read-only.
Relationship to Comments that are applied to the Action Node.
Multiplicity is 0+, access is read/write.
Relationship to Constraints that are applied to the Action Node.
Multiplicity is 0+, access is read/write.
A relationship to the Activity that is called through the Action Node.
The Called Behavior association applies only when the Action Node is a Call Behavior Action, that is, the Node Type attribute is set to Call Behavior Action.
See also, Action Node Linked Item.
Multiplicity is 0-1, access is read/write.
A relationship to the Operation that is called through the Action Node.
The Called Operation association applies only when the Action Node is a Call Operation Action, that is, the Node Type attribute is set to Call Operation Action.
See also, Action Node Linked Item.
Multiplicity is 0-1, access is read/write.
A relationship to the Action Flows for which the Action Node is the destination item.
See also, Outgoing.
Multiplicity is 0+, access is read/write.
A relationship to the Action Flows for which the Action Node is the source item.
See also, Incoming.
Multiplicity is 0+, access is read/write.
Owner
A relationship to the Activity or Activity Group (Structured Activity Node) that scopes the Action Node.
Multiplicity is 1, access is read/write.
Owning Activity
A relationship to the Activity for which the Action Node is a child item.
Multiplicity is 1, access is read-only.
Relationship to Comments that are owned by the Action Node.
Multiplicity is 0+, access is read/write.
Relationship to Constraints that are owned by the Action Node.
Multiplicity is 0+, access is read/write.
A relationship to Activity Partitions that reference the Action Node. An Activity Partition references an Action Node when that Action Node is created on or moved to the Activity Partition on an Activity Diagram.
Multiplicity is 0+, access is read/write.
A relationship to the Signal that is sent through the Action Node.
The Signal association applies only when the Action Node is a Send Signal Action, that is, the Node Type attribute is set to Send Signal Action.
See also, Action Node Linked Item.
Multiplicity is 0-1, access is read/write.
A collection of IO Flows for which the Action Node is the source.
Multiplicity is 0+, access is read/write.
A collection of IO Flows for which the Action Node is the target.
Multiplicity is 0+, access is read/write.
A relationship to the Event that triggers the Action Node.
The Trigger association applies only when the Action Node is an Accept Event Action, that is, the Node Type attribute is set to Accept Event Action.
See also, Action Node Linked Item.
Multiplicity is 0-1, access is read/write.