Top Description Methods
org.eclipse.persistence.jpa.jpql.utility.filter

public Interface Filter<T>

Known Direct Implementers
org.eclipse.persistence.jpa.jpql.utility.filter.NullFilter, org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.CollectionMappingFilter, org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.DifferentComparisonFilter, org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.MappingTypeFilter, org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.PropertyMappingFilter, org.eclipse.persistence.jpa.jpql.tools.utility.filter.CompoundFilter

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

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the given value is "accepted" by this filter; false if it was "rejected"
accept
(T
The value to filter
value
)

Determines whether the specified object is "accepted" by the filter.

Method Detail

acceptback to summary
public 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:T

The value to filter

Returns:boolean

true if the given value is "accepted" by this filter; false if it was "rejected"