Interface IRangeRestriction
-
public interface IRangeRestrictionOptional filter to restrict values of aGUIVariable.- Author:
- El-Sharkawy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanappliesTo(IDecisionVariable variable)Specifies which variables are restricted by this filter.booleanfilterValue(java.lang.Object value, java.lang.String label)Specifies whether a given value should be filtered or not.
-
-
-
Method Detail
-
appliesTo
boolean appliesTo(IDecisionVariable variable)
Specifies which variables are restricted by this filter.- Parameters:
variable- A variable for which aGUIVariableshall be generated.- Returns:
- true if the values of this variables shall be filtered, false if all assignable filters shall be presented to the user.
-
filterValue
boolean filterValue(java.lang.Object value, java.lang.String label)Specifies whether a given value should be filtered or not.- Parameters:
value-Value.getValue()of possible value, which may be filtered.label- Optional parameter for a displayable label- Returns:
- true value should be omitted, false keep value.
-
-