public class ActionExpression
extends java.lang.Object
The action expression object represents the information that can be extracted
from the ActionExpression
elements of the Change
,
Process
and Sync
verbs. The ActionExpression
indicates the action code of the action, an extended XPath
notation
to indicate the business object part of the action along with additional control
parameters.
This object represents the conversion of the ActionExpression
into
the object the expression points to along with the action code and control
parameters. This object is passed to the change, process and sync tasks
to perform the appropriate business logic based on this action information.
Constructor and Description |
---|
ActionExpression()
Creates an instance of the action expression object.
|
ActionExpression(java.lang.String actionCode,
java.lang.Object actionExpressionObject,
java.lang.Object actionExpressionParentObject,
java.lang.String actionExpressionObjectXPath,
java.lang.String actionExpressionObjectXPathKey,
java.util.List controlParameters)
Creates an instance of the action expression object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionCode()
This method returns the action code of the action expression.
|
java.lang.Object |
getActionExpressionObject()
This method returns the object pointed to in the action expression.
|
java.lang.String |
getActionExpressionObjectXPath()
This method returns the XPath expression which pointed to the object in the action expression.
|
java.lang.Object |
getActionExpressionParentObject()
This method returns the parent object pointed to in the action expression.
|
java.util.List |
getControlParameters()
This method returns the control parameters of the action expression.
|
java.lang.String |
getXPathKey()
This method returns the XPath normalized key which pointed to the object in the action expression.
|
void |
setActionCode(java.lang.String actionCode)
This method sets the action code of that action expression.
|
void |
setActionExpressionObject(java.lang.Object actionExpressionObject)
This method sets the object of the action expression.
|
void |
setActionExpressionObjectXPath(java.lang.String actionExpressionObjectXPath)
This method sets the XPath expression pointing to the object of the action expression.
|
void |
setActionExpressionParentObject(java.lang.Object actionExpressionParentObject)
This method sets the parent object of the action expression.
|
void |
setControlParameters(java.util.List controlParameters)
This method sets the control parameters of the action expression.
|
void |
setXPathKey(java.lang.String actionExpressionObjectXPathKey)
This method sets the XPath normalized key pointing to the object of the action expression.
|
java.lang.String |
toString()
This method returns the string representation of the object instance for debugging
purposes.
|
public ActionExpression()
public ActionExpression(java.lang.String actionCode, java.lang.Object actionExpressionObject, java.lang.Object actionExpressionParentObject, java.lang.String actionExpressionObjectXPath, java.lang.String actionExpressionObjectXPathKey, java.util.List controlParameters)
actionCode
- The action code of the action expression.actionExpressionObject
- The object involved with the action.actionExpressionParentObject
- The parent object involved with the action.actionExpressionObjectXPath
- The XPath expression pointing to the object.actionExpressionObjectXPathKey
- The normalized for of the XPath which represents a
consistent key.controlParameters
- The control parameters associated with the action.public java.lang.String getActionCode()
public void setActionCode(java.lang.String actionCode)
actionCode
- The action code.public java.lang.Object getActionExpressionObject()
public void setActionExpressionObject(java.lang.Object actionExpressionObject)
actionExpressionObject
- The action expression object.public java.lang.Object getActionExpressionParentObject()
public void setActionExpressionParentObject(java.lang.Object actionExpressionParentObject)
actionExpressionParentObject
- The action expression parent object.public java.lang.String getActionExpressionObjectXPath()
public void setActionExpressionObjectXPath(java.lang.String actionExpressionObjectXPath)
actionExpressionObjectXPath
- The action expression object XPath expression.public java.lang.String getXPathKey()
public void setXPathKey(java.lang.String actionExpressionObjectXPathKey)
actionExpressionObjectXPathKey
- The action expression object XPath expression.public java.util.List getControlParameters()
public void setControlParameters(java.util.List controlParameters)
controlParameters
- The action expression control parameters.public java.lang.String toString()
toString
in class java.lang.Object