protected NullFilterImpl(org.opengis.filter.expression.Expression expresion) { setExpression(expresion); }
((NullFilterImpl) curFilter).setExpression(expression); curState = "complete"; } else {
public void testNullFilter() throws IllegalFilterException { testExp1 = new AttributeExpressionImpl(testSchema, "testDouble"); testExp2 = new AttributeExpressionImpl(testSchema, "testDouble"); testExp3 = new AttributeExpressionImpl(testSchema, "testBoolean"); NullFilterImpl nullFilter1 = new NullFilterImpl(); NullFilterImpl nullFilter2 = new NullFilterImpl(); nullFilter1.setExpression(testExp1); nullFilter2.setExpression(testExp2); assertTrue(nullFilter1.equals(nullFilter2)); nullFilter1.setExpression(testExp3); assertTrue(!nullFilter1.equals(nullFilter2)); assertTrue(!nullFilter1.equals(new BetweenFilterImpl())); }
/** * Determines whether or not a given feature is 'inside' this filter. * * @param nullCheck The attribute expression to null check. * * @throws IllegalFilterException If attempting to add a non-attribute * expression. * * @task REVISIT: change arg to AttributeExpression? * @task REVISIT: change name to setNullCheckValue. * * @deprecated use {@link PropertyIsNull#setExpression(Expression)} */ public final void nullCheckValue(Expression nullCheck) throws IllegalFilterException { setExpression(nullCheck); }
/** * Determines whether or not a given feature is 'inside' this filter. * * @param nullCheck The attribute expression to null check. * * @throws IllegalFilterException If attempting to add a non-attribute * expression. * * @task REVISIT: change arg to AttributeExpression? * @task REVISIT: change name to setNullCheckValue. * * @deprecated use {@link PropertyIsNull#setExpression(Expression)} */ public final void nullCheckValue(Expression nullCheck) throws IllegalFilterException { setExpression(nullCheck); }