public abstract class AttributePredicate
extends java.lang.Object
Geometry
functions (which return a Geometry).
Provides metadata about the function.Modifier and Type | Field and Description |
---|---|
protected static int |
NOT_COMPARABLE |
Constructor and Description |
---|
AttributePredicate(java.lang.String name) |
AttributePredicate(java.lang.String name,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
coerce(java.lang.String constantValue,
java.lang.Object attrVal) |
protected boolean |
compareObjects(java.lang.Object arg1,
java.lang.Object arg2) |
protected static int |
compareTo(java.lang.Object o1,
java.lang.Object o2) |
java.lang.String |
getName() |
abstract boolean |
isTrue(java.lang.Object arg1,
java.lang.Object arg2) |
protected boolean |
testCompareValue(int comp)
Subclasses calling compareObjects should override this method
|
protected static final int NOT_COMPARABLE
public AttributePredicate(java.lang.String name)
public AttributePredicate(java.lang.String name, java.lang.String description)
public java.lang.String getName()
public abstract boolean isTrue(java.lang.Object arg1, java.lang.Object arg2)
protected boolean compareObjects(java.lang.Object arg1, java.lang.Object arg2)
protected boolean testCompareValue(int comp)
comp
- public static java.lang.Object coerce(java.lang.String constantValue, java.lang.Object attrVal)
protected static int compareTo(java.lang.Object o1, java.lang.Object o2)