- Type Parameters:
R
- the type of resources (e.g.Feature
) to filter.
- All Superinterfaces:
ComparisonOperator<R>
,Filter<R>
,Predicate<R>
@UML(identifier="NullOperator",
specification=ISO_19143)
public interface NullOperator<R>
extends ComparisonOperator<R>
An operator that tests if an expression's value is
null
.
This corresponds to checking whether the property exists in the real-world.
The value 0 is a valid value and is not considered null
.- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionList<Expression<? super R,
?>> Returns the expression whose value will be checked fornull
.default ComparisonOperatorName
Returns the nature of the comparison.
-
Method Details
-
getOperatorType
Returns the nature of the comparison. The default implementation returnsPROPERTY_IS_NULL
.- Specified by:
getOperatorType
in interfaceComparisonOperator<R>
- Specified by:
getOperatorType
in interfaceFilter<R>
- Returns:
- the nature of the comparison.
-
getExpressions
@UML(identifier="expression", obligation=MANDATORY, specification=ISO_19143) List<Expression<? super R,?>> getExpressions()Returns the expression whose value will be checked fornull
.- Specified by:
getExpressions
in interfaceFilter<R>
- Returns:
- a list of size 1 containing the expression to test for null value.
-