public class SetVariableAction extends ConditionOrAction implements Action
Constructor and Description |
---|
SetVariableAction()
Creates a new
SetVariableAction . |
Modifier and Type | Method and Description |
---|---|
int |
getDisplayMessageID() |
java.lang.String |
getId() |
java.lang.String |
getKey() |
int |
getParameterMessageID() |
int |
getSkeletonMessageID() |
java.lang.String |
getValue() |
int |
getValueColumn() |
UC4ObjectName |
getVariableName() |
boolean |
isAction() |
boolean |
isAfterCondition()
Returns
true if this action can be used in a Pre-Condition. |
boolean |
isBeforeCondition()
Returns
true if this action can be used in a Post-Condition. |
boolean |
isFinal()
Returns
true if this is a final action in
this condition. |
boolean |
isIF() |
void |
setKey(java.lang.String key) |
void |
setValue(java.lang.String value) |
void |
setValueColumn(int valueColumn) |
void |
setVariableName(UC4ObjectName variableName) |
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameter
public void setVariableName(UC4ObjectName variableName)
variableName
- Name of the variable objectpublic void setKey(java.lang.String key)
key
- Key valuepublic void setValueColumn(int valueColumn)
valueColumn
- Column which should store the new valuepublic void setValue(java.lang.String value)
value
- New valuepublic UC4ObjectName getVariableName()
public java.lang.String getKey()
public int getValueColumn()
-1
if not set.public java.lang.String getValue()
public boolean isFinal()
Action
true
if this is a final action in
this condition.public java.lang.String getId()
getId
in interface Action
getId
in class ConditionOrAction
public boolean isBeforeCondition()
Action
true
if this action can be used in a Post-Condition.isBeforeCondition
in interface Action
isBeforeCondition
in class ConditionOrAction
public boolean isAfterCondition()
Action
true
if this action can be used in a Pre-Condition.isAfterCondition
in interface Action
isAfterCondition
in class ConditionOrAction
public boolean isAction()
isAction
in class ConditionOrAction
com.uc4.api.objects.Action
or
false if the sub class is an instance of com.uc4.api.objects.Condition
public boolean isIF()
isIF
in class ConditionOrAction
public int getParameterMessageID()
getParameterMessageID
in class ConditionOrAction
public int getSkeletonMessageID()
getSkeletonMessageID
in class ConditionOrAction
public int getDisplayMessageID()
getDisplayMessageID
in class ConditionOrAction