Class Variable
java.lang.Object
com.streambase.liveview.client.dynamictables.Variable
Variables can be used in both test and assignment expressions in the FieldRules. If there is a non-trivial expression
that will be used more than once in the evaluation of FieldRules, then use a Variable to save the value of that
expression. Note that all Variables will be evaluated for every insert and update of every value.
Variables can also be the target of assignments in RuleCases, if there are expressions that only need to
be evaluated for certain cases.
- Since:
- 2.1.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getType()
boolean
void
setInsertInitialValue
(String insertInitialValue) void
void
void
setUpdateInitialValue
(String updateInitialValue)
-
Constructor Details
-
Variable
public Variable() -
Variable
-
-
Method Details
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
getInsertInitialValue
- Returns:
- the insertInitialValue
-
setInsertInitialValue
- Parameters:
insertInitialValue
- the insertInitialValue to set
-
getUpdateInitialValue
- Returns:
- the updateInitialValue
-
setUpdateInitialValue
- Parameters:
updateInitialValue
- the updateInitialValue to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type
- the type to set Note that the complex types -- LIST, TUPLE, CAPTURE, and FUNCTION -- are not currently supported.
-
isComplete
public boolean isComplete()- Returns:
-