/** * Constructs a NOT filter * * @return The constructed NOT Filter */ public static UnaryFilter not() { return new UnaryFilter(); }
/** * Constructs a NOT filter with the associated inner Filter * * @param filter The inner Filter * @return The constructed NOT Filter */ public static UnaryFilter not( Filter filter ) { UnaryFilter notFilter = not(); notFilter.filter = filter; return notFilter; }
/** * Constructs a NOT filter with the associated inner Filter * * @param filter The inner Filter * @return The constructed NOT Filter */ public static UnaryFilter not( Filter filter ) { UnaryFilter notFilter = not(); notFilter.filter = filter; return notFilter; }
/** * Constructs a NOT filter * * @return The constructed NOT Filter */ public static UnaryFilter not() { return new UnaryFilter(); }
/** * Constructs a NOT filter with the associated inner Filter * * @param filter The inner Filter * @return The constructed NOT Filter */ public static UnaryFilter not( Filter filter ) { UnaryFilter notFilter = not(); notFilter.filter = filter; return notFilter; }
/** * Constructs a NOT filter * * @return The constructed NOT Filter */ public static UnaryFilter not() { return new UnaryFilter(); }
/** * Returns a new FilterBuilder for negating another filter. For example: * * <pre> * not( present( "givenName" ) ).toString(); * </pre> * would result in the string: * <pre> * (!(givenName=*)) * </pre> * * @param builder The filter to negate * @return A new FilterBuilder */ public static FilterBuilder not( FilterBuilder builder ) { return new FilterBuilder( UnaryFilter.not( builder.filter ) ); }
/** * Returns a new FilterBuilder for negating another filter. For example: * * <pre> * not( present( "givenName" ) ).toString(); * </pre> * would result in the string: * <pre> * (!(givenName=*)) * </pre> * * @param builder The filter to negate * @return A new FilterBuilder */ public static FilterBuilder not( FilterBuilder builder ) { return new FilterBuilder( UnaryFilter.not( builder.filter ) ); }
/** * Returns a new FilterBuilder for negating another filter. For example: * * <pre> * not( present( "givenName" ) ).toString(); * </pre> * would result in the string: * <pre> * (!(givenName=*)) * </pre> * * @param builder The filter to negate * @return A new FilterBuilder */ public static FilterBuilder not( FilterBuilder builder ) { return new FilterBuilder( UnaryFilter.not( builder.filter ) ); }