EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

public interface Filter<T>

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

Version:
2.3
Since:
2.3

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"

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference