public class PropertyExistsFunction extends FunctionExpressionImpl
| Modifier and Type | Field and Description |
|---|---|
static FunctionName |
NAME |
fallback, functionName, name, paramsNIL| Constructor and Description |
|---|
PropertyExistsFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Object bean)
Subclass should override, default implementation returns null.
|
Object |
evaluate(SimpleFeature feature) |
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toStringisAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionevaluateevaluatepublic static FunctionName NAME
public Object evaluate(SimpleFeature feature)
Boolean.TRUE if the feature's FeatureType contains an
attribute named as the property name passed as this function argument, Boolean.FALSE otherwise.public Object evaluate(Object bean)
ExpressionAbstractevaluate in interface Expressionevaluate in class FunctionExpressionImplBoolean.TRUE if the Class of the object passed as argument defines a property
names as the property name passed as this function argument, following the standard Java
Beans naming conventions for getters. Boolean.FALSE otherwise.Copyright © 1996–2021 Geotools. All rights reserved.