org.eclipse.modisco.jee.queries.annotations.jpa
Class IsPersistenceUnit

java.lang.Object
  extended by org.eclipse.modisco.jee.queries.annotations.jpa.IsPersistenceUnit
All Implemented Interfaces:
IJavaModelQuery<BodyDeclaration,java.lang.Boolean>

public class IsPersistenceUnit
extends java.lang.Object
implements IJavaModelQuery<BodyDeclaration,java.lang.Boolean>


Constructor Summary
IsPersistenceUnit()
           
 
Method Summary
 java.lang.Boolean evaluate(BodyDeclaration context, ParameterValueList parameterValues)
          This method must be overridden by each sub class to implement query evaluation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsPersistenceUnit

public IsPersistenceUnit()
Method Detail

evaluate

public java.lang.Boolean evaluate(BodyDeclaration context,
                                  ParameterValueList parameterValues)
                           throws ModelQueryExecutionException
Description copied from interface: IJavaModelQuery
This method must be overridden by each sub class to implement query evaluation.

Specified by:
evaluate in interface IJavaModelQuery<BodyDeclaration,java.lang.Boolean>
Parameters:
context - The query evaluation context
parameterValues - The query parameter values
Returns:
the result of the type R
Throws:
ModelQueryExecutionException