public class RuleCase
extends java.lang.Object
Constructor and Description |
---|
RuleCase() |
Modifier and Type | Method and Description |
---|---|
void |
addFieldAssignment(java.lang.String fieldName,
java.lang.String insertValue,
java.lang.String updateValue)
Shortcut for the most common case of adding a field assignment with an insert and an update value
|
void |
addInsertAssignment(Assignment assignment)
Add one insertAssignment
|
void |
addUpdateAssignment(Assignment assignment)
Add one updateAssignment
|
java.util.List<Assignment> |
getInsertAssignments() |
java.lang.String |
getTest() |
java.util.List<Assignment> |
getUpdateAssignments() |
boolean |
isComplete(boolean testRequired) |
void |
setTest(java.lang.String test) |
public java.lang.String getTest()
public void setTest(java.lang.String test)
test
- the test to set. Note that this is will be ignored when used as a default RuleCasepublic java.util.List<Assignment> getInsertAssignments()
public void addInsertAssignment(Assignment assignment)
assignment
- public java.util.List<Assignment> getUpdateAssignments()
public void addUpdateAssignment(Assignment assignment)
assignment
- public void addFieldAssignment(java.lang.String fieldName, java.lang.String insertValue, java.lang.String updateValue)
fieldName
- The field name. RequiredinsertValue
- Insert Value. May be nullupdateValue
- Update Value. May be nullpublic boolean isComplete(boolean testRequired)
b
-