public class PropertyIsGreaterThan extends AbstractBinaryExpression
The abstract class of <PropertyIsGreaterThan> elements.
It's a binary comparison operation confining that the value of the first expression is greater than that of the second expression.
A PropertyIsGreaterThan element consists of two <expression> child elements, representing the first and the second expression.
Where, the <expression> element is a composite expression of Filter elements. It is an abstract element in OGC and does not actually exist. It represents an expression with a combination of some Filter elements. The Filter elements that can be combined in a <expression> element include: <Add>, <Sub>, <Mul>, <Div>, <PropertyName>, <Literal> , and <Function>.
name, subExpression| Constructor and Description |
|---|
PropertyIsGreaterThan()
The constructor.
|
PropertyIsGreaterThan(Filter firstFilter, Filter secondFilter)
Constructs an object of
PropertyIsGreaterThan by using two composite expressions. |
PropertyIsGreaterThan(java.lang.String[] argument)
Constructs a
PropertyIsGreaterThan object by using the name and the value of the property field. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
Gets the Filter element type.
|
getExpression1, getExpression2copy, getName, getSubExpression, getSubExpressionCount, setSubExpressionpublic PropertyIsGreaterThan(java.lang.String[] argument)
Constructs a PropertyIsGreaterThan object by using the name and the value of the property field.
Represents the condition that the property value is greater than a specified value.
argument - An array of strings. The first array element represents the name of the property field, used to construct a PropertyName object. The second element represents the value, used to construct a Literal object.public PropertyIsGreaterThan(Filter firstFilter, Filter secondFilter)
Constructs an object of PropertyIsGreaterThan by using two composite expressions.
firstFilter - The first composite expression.secondFilter - The second composite expression.public PropertyIsGreaterThan()
The constructor.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept in class AbstractBinaryExpressionOGCExceptionpublic FilterType getFilterType()
AbstractBinaryExpressionGets the Filter element type.
getFilterType in class AbstractBinaryExpression