Class PropertyExistsFunction

    • Constructor Detail

      • PropertyExistsFunction

        public PropertyExistsFunction()
    • Method Detail

      • evaluate

        public Object evaluate​(SimpleFeature feature)
        Returns:
        Boolean.TRUE if the feature's FeatureType contains an attribute named as the property name passed as this function argument, Boolean.FALSE otherwise.
      • evaluate

        public Object evaluate​(Object bean)
        Description copied from class: ExpressionAbstract
        Subclass should override, default implementation returns null.
        Specified by:
        evaluate in interface Expression
        Overrides:
        evaluate in class FunctionExpressionImpl
        Returns:
        Boolean.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.