Method Summary |
|
public boolean | evaluate(Object value) Evalutes whether or not the value is valid according to this condition.
Parameters: value - the value to evaluate. |
public String | getEqual() Gets the value of which the condition must be equal. |
public String | getId() Gets the id of the prompt to which this condition applies. |
public String | getNotEqual() Gets the value of which the condition must not be equal. |
public Map | getProperties() Gets all properties to set for this condition. |
public void | setEqual(String equal) Sets the value of which the condition must be equal. |
public void | setId(String id) Sets the id of the prompt to which this condition applies. |
public void | setNotEqual(String notEqual) Sets the value of which the condition must not be equal. |
public void | setPresent(boolean present) Sets whether or not the condition must be present. |
public void | setProperty(String id, String value, String type) Sets the value of the property in the template context
with the given id to have the given value
if this condition is true. |
public String | toString() |