public interface ConstPositionFilter extends ContainsFilter
This filter compares the position of the first object matching the specified filter in the list returned by the attribute to a given constant value.
Example:
The filter list POSITION (item = b) = 1 applied to the
list [a, b, c, d] matches, because item b is the
second element in the list.
list POSITION (item = b OR item = a) = 1 will not match, however,
because the first matching item is a which is the first item in the list.
| Modifier and Type | Method and Description |
|---|---|
ComparisonOperator |
getOperator()
Returns the comparison operator used in the comparison of the list position
to the specified position.
|
int |
getPosition()
Returns the position the list position is compared to.
|
getAttribute, getFilterOnAttributeComparisonOperator getOperator()
int getPosition()