public class RuleCase extends Object
Constructor and Description |
---|
RuleCase() |
Modifier and Type | Method and Description |
---|---|
void |
addFieldAssignment(String fieldName,
String insertValue,
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
|
List<Assignment> |
getInsertAssignments() |
String |
getTest() |
List<Assignment> |
getUpdateAssignments() |
boolean |
isComplete(boolean testRequired) |
void |
setTest(String test) |
public String getTest()
public void setTest(String test)
test
- the test to set. Note that this is will be ignored when used as a default RuleCasepublic List<Assignment> getInsertAssignments()
public void addInsertAssignment(Assignment assignment)
assignment
- public List<Assignment> getUpdateAssignments()
public void addUpdateAssignment(Assignment assignment)
assignment
- public void addFieldAssignment(String fieldName, String insertValue, String updateValue)
fieldName
- The field name. RequiredinsertValue
- Insert Value. May be nullupdateValue
- Update Value. May be nullpublic boolean isComplete(boolean testRequired)
b
-