EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Class AbstractContentAssistVisitor.MappingTypeFilter

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.MappingTypeFilter
All Implemented Interfaces:
Filter<IMapping>
Enclosing class:
AbstractContentAssistVisitor

protected class AbstractContentAssistVisitor.MappingTypeFilter
extends java.lang.Object
implements Filter<IMapping>

This Filter is responsible to filter out the mappings that can't have their type assignable to the one passed in.


Field Summary
protected  IType type
          The type used to determine if the mapping's type is a valid type.
 
Method Summary
 boolean accept(IMapping value)
          Determines whether the specified object is "accepted" by the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected final IType type
The type used to determine if the mapping's type is a valid type.

Method Detail

accept

public boolean accept(IMapping 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.

Specified by:
accept in interface Filter<IMapping>
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