public interface IRespViewFieldRule
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompareTo()
Returns the value/field to compare the current field's value to.
|
java.lang.String |
getCondition()
Returns the condition, also called "operator" internally.
|
java.lang.String |
getControllerName()
Returns the controllerName if set directly on the dependency.
|
java.util.List<IRespViewFieldRuleController> |
getControllers()
Returns the list of controllers set on the rule.
|
java.lang.String |
getField()
Gets the name of the field being compared in the case where field is not implicit (i.e.
|
java.lang.String |
getOffset()
Returns the offset (in days) that will be used when doing date field comparisons.
|
java.lang.String |
getRuleCategory()
Returns the dependency category as a string.
|
java.lang.String |
getSeverity()
Returns the severity of the rules ("error", "warning", "info", "success").
|
java.lang.String |
getType()
Returns the dependency type, also called "behavior" internally (e.g., "visible", "required", "equal").
|
void |
setCompareTo(java.lang.String compareTo)
Sets the value/field to compare the current field's value to in a validation rule.
|
void |
setCondition(java.lang.String type)
Sets the condition, i.e., does the dependency evaluate to true if "allOf" the controllers are true,
or if "anyOf" the controllers are true.
|
void |
setControllerName(java.lang.String controllerName)
Sets the controller name.
|
void |
setControllers(java.util.List<IRespViewFieldRuleController> controllers)
Sets the list of controller for a rule.
|
void |
setField(java.lang.String field)
Sets the name of the field being compared in the case where field is not implicit (i.e.
|
void |
setOffset(java.lang.String offset)
Sets the offset (in days) that will be used when doing date field comparisons.
|
void |
setSeverity(java.lang.String severity)
Sets the severity of the rule.
|
void |
setType(java.lang.String type)
Sets the dependency type.
|
java.lang.String getType()
void setType(java.lang.String type)
type
- String dependency type (e.g., "visible", "required", "equal")java.lang.String getCondition()
void setCondition(java.lang.String type)
type
- String condition (e.g., "allOf", "anyOf")java.lang.String getControllerName()
void setControllerName(java.lang.String controllerName)
controllerName
- String controller namejava.util.List<IRespViewFieldRuleController> getControllers()
IRespViewFieldRuleController
The list of controllers for the dependencyvoid setControllers(java.util.List<IRespViewFieldRuleController> controllers)
controllers
- Listjava.lang.String getField()
void setField(java.lang.String field)
java.lang.String getCompareTo()
void setCompareTo(java.lang.String compareTo)
controllerName
- String controller namejava.lang.String getOffset()
void setOffset(java.lang.String offset)
offsett
- String offsetjava.lang.String getSeverity()
void setSeverity(java.lang.String severity)
severity
- Stringjava.lang.String getRuleCategory()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.