|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PropertyIsBetween
public interface BetweenFilter
Defines a 'between' filter (which is a specialized compare filter). A between filter is just shorthand for a less-than-or-equal filter ANDed with a greater-than-or-equal filter. Arguably, this would be better handled using those constructs, but the OGC filter specification creates its own object for this, so we do as well. An important note here is that a between filter is actually a math filter, so its outer (left and right) expressions must be math expressions. This is enforced by the FilterAbstract class, which considers a BETWEEN operator to be a math filter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface MultiValuedFilter |
---|
MultiValuedFilter.MatchAction |
Field Summary |
---|
Fields inherited from interface Filter |
---|
ALL, NONE |
Fields inherited from interface Filter |
---|
EXCLUDE, INCLUDE |
Fields inherited from interface PropertyIsBetween |
---|
NAME |
Method Summary | |
---|---|
void |
addMiddleValue(Expression middleValue)
Deprecated. use PropertyIsBetween#setExpression(Expression) |
boolean |
contains(SimpleFeature feature)
Deprecated. use org.opengis.filter.Filter#evaluate(Feature) |
Expression |
getExpression1()
Deprecated. use PropertyIsBetween.getLowerBoundary() |
Expression |
getExpression2()
Deprecated. use PropertyIsBetween.getUpperBoundary()() |
Expression |
getMiddleValue()
Deprecated. use PropertyIsBetween.getExpression() |
void |
setExpression1(Expression expression)
Deprecated. use PropertyIsBetween#setLowerBoundary(Expression)() |
void |
setExpression2(Expression expression)
Deprecated. use PropertyIsBetween#setUpperBoundary(Expression)() |
Methods inherited from interface CompareFilter |
---|
addLeftValue, addRightValue, getLeftValue, getRightValue |
Methods inherited from interface Filter |
---|
accept, and, evaluate, getFilterType, not, or |
Methods inherited from interface BinaryComparisonOperator |
---|
isMatchingCase |
Methods inherited from interface MultiValuedFilter |
---|
getMatchAction |
Methods inherited from interface Filter |
---|
accept, evaluate |
Methods inherited from interface PropertyIsBetween |
---|
getExpression, getLowerBoundary, getUpperBoundary |
Method Detail |
---|
boolean contains(SimpleFeature feature)
org.opengis.filter.Filter#evaluate(Feature)
contains
in interface CompareFilter
feature
- Specified feature to examine.
Expression getExpression1()
PropertyIsBetween.getLowerBoundary()
BinaryComparisonOperator
getExpression1
in interface BinaryComparisonOperator
Expression getExpression2()
PropertyIsBetween.getUpperBoundary()()
BinaryComparisonOperator
getExpression2
in interface BinaryComparisonOperator
void setExpression1(Expression expression)
PropertyIsBetween#setLowerBoundary(Expression)()
void setExpression2(Expression expression)
PropertyIsBetween#setUpperBoundary(Expression)()
Expression getMiddleValue()
PropertyIsBetween.getExpression()
void addMiddleValue(Expression middleValue)
PropertyIsBetween#setExpression(Expression)
middleValue
- The expression to be compared.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |