Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jpa.internal.jpql.util
Interface Filter<T>

All Known Implementing Classes:
AndFilter, CompoundFilter, ContentAssistVisitor.CollectionMappingFilter, ContentAssistVisitor.MappingTypeFilter, ContentAssistVisitor.PropertyMappingFilter, NullFilter

public interface Filter<T>

A filter is used to determine if a value can be "accepted" or "rejected".

Since:
2.3
Version:
2.3
Author:
Pascal Filion

Method Summary
 boolean accept(T value)
          Determines whether the specified object is "accepted" by the filter.

 

Method Detail

accept

boolean accept(T value)
Determines whether the specified object is "accepted" by the filter. The semantics of "accept" is determined by the contract between the client and the server.
Parameters:
value - The value to filter
Returns:
true if the given value is "accepted" by this filter; false if it was "rejected".

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.