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

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

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


Constructor Summary
IsOneToOne()
           
 
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

IsOneToOne

public IsOneToOne()
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