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 to the
RuleCase. |
void |
addUpdateAssignment(Assignment assignment)
Add one updateAssignment to the
RuleCase. |
List<Assignment> |
getInsertAssignments()
Gets the list of all insert
Assignment. |
String |
getTest()
This method returns the test for this
RuleCase |
List<Assignment> |
getUpdateAssignments()
Gets the list of all update
Assignment. |
boolean |
isComplete(boolean testRequired)
Method is used to check completeness of the
RuleCase. |
void |
setTest(String test)
The method is used to set the test for the
RuleCase. |
public String getTest()
RuleCaseRuleCasepublic void setTest(String test)
RuleCase.
Note that this will be ignored when used as a default RuleCase.test - the test to set.public List<Assignment> getInsertAssignments()
Assignment.Assignment.public void addInsertAssignment(Assignment assignment)
RuleCase.assignment - the insert Assignment.public List<Assignment> getUpdateAssignments()
Assignment.Assignment.public void addUpdateAssignment(Assignment assignment)
RuleCase.assignment - the update Assignment.public void addFieldAssignment(String fieldName, String insertValue, String updateValue)
fieldName - The field name. RequiredinsertValue - Insert Value. May be nullupdateValue - Update Value. May be nullCopyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.