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

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

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


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

IsUniqueConstraint

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