org.grails.datastore.gorm.finders
Class MethodExpression
java.lang.Object
org.grails.datastore.gorm.finders.MethodExpression
- Direct Known Subclasses:
- MethodExpression.Between, MethodExpression.Equal, MethodExpression.GreaterThan, MethodExpression.GreaterThanEquals, MethodExpression.InList, MethodExpression.LessThan, MethodExpression.LessThanEquals, MethodExpression.Like
public abstract class MethodExpression
- extends Object
Method expression used to evaluate a dynamic finder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyName
protected String propertyName
arguments
protected Object[] arguments
argumentsRequired
protected int argumentsRequired
targetClass
protected Class<?> targetClass
MethodExpression
protected MethodExpression(Class<?> targetClass,
String propertyName)
createCriterion
public abstract Query.Criterion createCriterion()
getArgumentsRequired
public int getArgumentsRequired()
setArguments
public void setArguments(Object[] arguments)
create
public static MethodExpression create(Class clazz,
String expression)