T
- expression typepublic class Param<T> extends SimpleExpression<T> implements ParamExpression<T>
Param
defines a parameter in a query with an optional namehashCode, mixin
Constructor and Description |
---|
Param(Class<? extends T> type) |
Param(Class<? extends T> type,
String name) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
String |
getName()
Get the name of the parameter
|
String |
getNotSetMessage()
Get the message for the not set case
|
boolean |
isAnon()
Get whether the parameter is anonymous
|
as, as, count, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, when
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<T>
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic String getName()
ParamExpression
getName
in interface ParamExpression<T>
public boolean isAnon()
ParamExpression
isAnon
in interface ParamExpression<T>
public String getNotSetMessage()
ParamExpression
getNotSetMessage
in interface ParamExpression<T>
Copyright © 2007–2016 Querydsl. All rights reserved.