public class OleAutomationAction extends Action implements ActiveLinkAction, Cloneable, Serializable
AutomationInfo
class is used to define the information of an OLE Automation active link action.
The OLE Automation action shares functionality between applications that
support OLE. When using this action, the AR System acts as an OLE automation
controller client to an OLE server.Constructor and Description |
---|
OleAutomationAction()
constructor
|
OleAutomationAction(String autoServerName,
String clsId,
String action,
boolean isVisible,
List<COMMethodInfo> methodList) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self
|
boolean |
equals(Object obj)
Use this method for checking equality.
|
String |
getAction()
Returns string specifying the equation defined by this action, including nested
methods and the assignment, if any.
|
String |
getAutoServerName()
Returns string specifying the name of the Automation server, length limited by
AR_MAX_COM_NAME (64 bytes). |
String |
getClsId()
Returns string specifying the unique ID assigned to this server in the registry,
length limited by
AR_MAX_COM_ID_SIZE (128 bytes). |
List<COMMethodInfo> |
getMethodList()
Returns list of methods called by this active link action.
|
int |
hashCode()
* Returns the hash code value for this instance of the current class.
|
boolean |
isVisible()
Returns whether the Automation Server is visible or not.
|
void |
setAction(String action)
Sets string specifying the equation defined by this action, including nested
methods and the assignment, if any.
|
void |
setAutoServerName(String autoServerName)
Sets string specifying the name of the Automation server, length limited by
AR_MAX_COM_NAME (64 bytes). |
void |
setClsId(String clsId)
Sets string specifying the unique ID assigned to this server in the registry,
length limited by
AR_MAX_COM_ID_SIZE (128 bytes). |
void |
setMethodList(List<COMMethodInfo> methodList)
Sets list of methods called by this active link action, specified by using
the
COMMethodInfo object. |
void |
setVisible(boolean isVisible)
Sets flag to enable or disable the visibility of
the Automation Server.
|
String |
toString()
Returns a string description of the object.
|
equals, getActionType
public OleAutomationAction()
public OleAutomationAction(String autoServerName, String clsId, String action, boolean isVisible, List<COMMethodInfo> methodList)
public String getAutoServerName()
AR_MAX_COM_NAME
(64 bytes).public void setAutoServerName(String autoServerName)
AR_MAX_COM_NAME
(64 bytes).public String getClsId()
AR_MAX_COM_ID_SIZE
(128 bytes).public void setClsId(String clsId)
AR_MAX_COM_ID_SIZE
(128 bytes).public String getAction()
public void setAction(String action)
$Status$ =
MethodA().MethodB(MethodC())
. It is used for display only, and
limited by AR_MAX_AUTOMATION_SIZE
(2000 bytes).public boolean isVisible()
public void setVisible(boolean isVisible)
public List<COMMethodInfo> getMethodList()
public void setMethodList(List<COMMethodInfo> methodList)
COMMethodInfo
object. The methods must be listed in order of
execution. Therefore, if Method B is passed as a parameter to Method A,
Method B should be listed first so that its result value will be available when
Method A is called.public Object clone() throws CloneNotSupportedException
clone
in class Action
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.