public class PropertyIsLessThan extends AbstractBinaryExpression
The abstract class of <PropertyIsLessThan> elements.
It's a binary comparison operation confining that the value of the first expression is less than that of the second expression.
A PropertyIsLessThan 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 |
---|
PropertyIsLessThan()
The constructor.
|
PropertyIsLessThan(Filter firstFilter, Filter secondFilter)
Constructs an object of
PropertyIsLessThan by using two composite expressions. |
PropertyIsLessThan(java.lang.String[] argument)
Constructs a
PropertyIsLessThan 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, getExpression2
copy, getName, getSubExpression, getSubExpressionCount, setSubExpression
public PropertyIsLessThan(java.lang.String[] argument)
Constructs a PropertyIsLessThan
object by using the name and the value of the property field.
Represents the condition that the property value is less than a specified value.
argument
- An array of strings. The first element of the array 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 PropertyIsLessThan(Filter firstFilter, Filter secondFilter)
Constructs an object of PropertyIsLessThan
by using two composite expressions.
Represents the condition that the value of the first expression is less than that of the second expression.
firstFilter
- The first composite expression.secondFilter
- The second composite expression.public PropertyIsLessThan()
The constructor.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept
in class AbstractBinaryExpression
OGCException
public FilterType getFilterType()
AbstractBinaryExpression
Gets the Filter element type.
getFilterType
in class AbstractBinaryExpression