public class FlowElement
extends java.lang.Object
implements java.io.Serializable, com.ibm.websphere.cache.Sizeable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | VARIABLE_NAME_PREFIX
The prefix used in element templates to indicate variables that need to be replaced by the user interface.
|
Constructor and Description |
---|
FlowElement()
This method is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Short | determinePriority()
This method calculates the priority of this flow element based on the priority of any related flow elements and the priority of the associated activity.
|
java.lang.Integer | getActivityId()
This method gets the ID of the activity associated with this flow element.
|
java.lang.String | getBehaviorXml()
This method gets the behavior rule XML associated with this flow element.
|
java.lang.String | getCallCmdOnMatch()
This method gets the interface name of the task command to call when the trigger is received.
|
java.lang.Integer | getElementTemplateId()
This method gets the ID of the template that created this flow element.
|
java.lang.String | getElementTemplateName()
This method gets the name of the template of this flow element.
|
java.lang.Integer | getElementTypeId()
This method gets the ID of the type of this flow element.
|
java.lang.String | getElementTypeName()
This method gets the name of the type of this flow element.
|
java.lang.String | getElementXml()
This method gets the XML associated with this flow element.
|
java.lang.Integer | getField1()
This method gets the customization field 1.
|
java.lang.Long | getField2()
This method gets the customization field 2.
|
java.math.BigDecimal | getField3()
This method gets the customization field 3.
|
java.lang.String | getField4()
This method gets the customization field 4.
|
java.lang.Integer | getId()
This method gets the unique ID of the flow element.
|
java.lang.Object[] | getInvocationObject()
This method gets the invocation parameters associated with the flow element XML.
|
java.lang.String | getName()
This method gets the name of the flow element.
|
long | getObjectSize()
Returns the estimated footprint size in bytes of this object and the objects it contains.
|
java.lang.String | getParent()
This method gets the name of the parent element of the flow element.
|
java.lang.Integer | getParentId()
This method gets the identifier of the parent element of the flow element.
|
boolean | getPersistBehaviorDataToDatabase()
This method returns if the behavior data associated with this flow element should be persisted to the database.
|
java.lang.Short | getPriority()
This method gets the priority of this flow element.
|
java.lang.Integer | getRelatedId()
This method gets the ID of the element associated with this flow element.
|
java.lang.String | getRelatedXml()
This method gets the element XML of the flow element related to this flow element.
|
java.lang.Double | getSequence()
This method gets the sequence of the flow element under the parent element.
|
java.util.Map | getTriggerParameters()
This method gets the parameters of the trigger associated with the flow element XML.
|
java.lang.String | getTriggerType()
This method gets the type of the trigger associated with the flow element XML.
|
java.lang.String | getTrueForAllUsers()
This method returns if the trigger associated with this flow element is an trigger that is for all users.
|
UserBehaviorRule | getUserBehaviorRule()
This method gets the user behavior rule object associated with the flow element XML.
|
java.util.Map<java.lang.String,java.lang.String> | getVariables()
This method gets the flow element variables (from the DMELEMENTNVP database table) contained in a Map object.
|
void | setActivityId(java.lang.Integer newActivityId)
This method sets the ID of the activity associated with this flow element.
|
void | setBehaviorXml(java.lang.String newBehaviorXml)
This method sets the behavior rule XML associated with this flow element.
|
void | setCallCmdOnMatch(java.lang.String newCallCmdOnMatch)
This method sets the interface name of the task command to call when the trigger is received.
|
void | setElementTemplateId(java.lang.Integer newTemplateId)
This method sets the ID of the template that created this flow element.
|
void | setElementTemplateName(java.lang.String newTemplateName)
This method sets the name of the template of this flow element.
|
void | setElementTypeId(java.lang.Integer newTypeId)
This method sets the ID of the type of this flow element.
|
void | setElementTypeName(java.lang.String newTypeName)
This method sets the name of the type of this flow element.
|
void | setElementXml(java.lang.String newElementXml)
This method gets the XML associated with this flow element.
|
void | setField1(java.lang.Integer newField1)
This method sets the customization field 1.
|
void | setField2(java.lang.Long newField2)
This method sets the customization field 2.
|
void | setField3(java.math.BigDecimal newField3)
This method sets the customization field 3.
|
void | setField4(java.lang.String newField4)
This method sets the customization field 4.
|
void | setId(java.lang.Integer newId)
This method sets the unique ID of the flow element.
|
void | setInvocationObject(java.lang.Object[] newInvocationObject)
This method sets the invocation parameters associated with the flow element XML.
|
void | setName(java.lang.String newName)
This method sets the name of the flow element.
|
void | setParent(java.lang.String newParent)
This method sets the name of the parent element of the flow element.
|
void | setParentId(java.lang.Integer newParentId)
This method sets the identifier of the parent element of the flow element.
|
void | setPersistBehaviorDataToDatabase(boolean newPersistBehaviorDataToDatabase)
This method sets if the behavior data associated with this flow element should be persisted to the database.
|
void | setPriority(java.lang.Short newPriority)
This method sets the priority of this flow element.
|
void | setRelatedId(java.lang.Integer newRelatedId)
This method sets the ID of the element associated with this flow element.
|
void | setRelatedXml(java.lang.String newRelatedXml)
This method gets the element XML of the flow element related to this flow element.
|
void | setSequence(java.lang.Double newSequence)
This method sets the sequence of the flow element under the parent element.
|
void | setTriggerParameters(java.util.Map newTriggerParameters)
This method sets the parameters of the trigger associated with the flow element XML.
|
void | setTriggerType(java.lang.String newTriggerType)
This method sets the type of the trigger associated with the flow element XML.
|
void | setTrueForAllUsers(java.lang.String newTrueForAllUsers)
This method sets if the trigger associated with this flow element is an trigger that is for all users.
|
void | setUserBehaviorRule(UserBehaviorRule newUserBehaviorRule)
This method sets the user behavior rule object associated with the flow element XML.
|
void | setVariables(java.util.Map<java.lang.String,java.lang.String> newVariables)
This method sets the flow element variables (from the DMELEMENTNVP database table) that are contained in a Map object.
|
java.lang.String | toString()
This method returns a string with the content of the flow element.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VARIABLE_NAME_PREFIX
public FlowElement()
public long getObjectSize()
public java.lang.Integer getId()
public java.lang.String getName()
public java.lang.Integer getElementTemplateId()
public java.lang.String getElementTypeName()
public java.lang.String getElementTemplateName()
public java.lang.Integer getElementTypeId()
public java.lang.Integer getActivityId()
public java.lang.Integer getRelatedId()
public java.lang.Short getPriority()
public java.lang.String getParent()
public java.lang.Integer getParentId()
public java.lang.Double getSequence()
public java.lang.Short determinePriority()
public java.lang.String getElementXml()
public java.lang.String getBehaviorXml()
public java.lang.String getRelatedXml()
public java.lang.String getTrueForAllUsers()
public java.lang.Integer getField1()
public java.lang.Long getField2()
public java.math.BigDecimal getField3()
public java.lang.String getField4()
public void setId(java.lang.Integer newId)
public void setName(java.lang.String newName)
public void setElementTemplateId(java.lang.Integer newTemplateId)
public void setElementTypeName(java.lang.String newTypeName)
public void setElementTemplateName(java.lang.String newTemplateName)
public void setElementTypeId(java.lang.Integer newTypeId)
public void setActivityId(java.lang.Integer newActivityId)
public void setRelatedId(java.lang.Integer newRelatedId)
public void setPriority(java.lang.Short newPriority)
public void setParent(java.lang.String newParent)
public void setParentId(java.lang.Integer newParentId)
public void setSequence(java.lang.Double newSequence)
public void setElementXml(java.lang.String newElementXml)
public void setBehaviorXml(java.lang.String newBehaviorXml)
public void setRelatedXml(java.lang.String newRelatedXml)
public void setTrueForAllUsers(java.lang.String newTrueForAllUsers)
public void setField1(java.lang.Integer newField1)
public void setField2(java.lang.Long newField2)
public void setField3(java.math.BigDecimal newField3)
public void setField4(java.lang.String newField4)
public java.lang.String getTriggerType()
public java.util.Map getTriggerParameters()
public void setTriggerType(java.lang.String newTriggerType)
public void setTriggerParameters(java.util.Map newTriggerParameters)
public java.lang.Object[] getInvocationObject()
public void setInvocationObject(java.lang.Object[] newInvocationObject)
public UserBehaviorRule getUserBehaviorRule()
public void setUserBehaviorRule(UserBehaviorRule newUserBehaviorRule)
public boolean getPersistBehaviorDataToDatabase()
public void setPersistBehaviorDataToDatabase(boolean newPersistBehaviorDataToDatabase)
public java.lang.String getCallCmdOnMatch()
public void setCallCmdOnMatch(java.lang.String newCallCmdOnMatch)
public java.lang.String toString()
public void setVariables(java.util.Map<java.lang.String,java.lang.String> newVariables)
public java.util.Map<java.lang.String,java.lang.String> getVariables()