public class ParameterExpressionImpl<T> extends ExpressionImpl<T> implements javax.persistence.criteria.ParameterExpression<T>
Constructor and Description |
---|
ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
Class<T> javaType) |
ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
Class<T> javaType,
Integer position) |
ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
Class<T> javaType,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
findRootAndParameters(CommonAbstractCriteriaImpl query) |
String |
getInternalName()
Returns the name used by EclipseLink when a name has not been assigned by the user.
|
String |
getName()
Return the parameter name, or null if the parameter is not a named
parameter.
|
Class<T> |
getParameterType()
Return the Java type of the parameter.
|
Integer |
getPosition()
Return the parameter position, or null if the parameter is not a
positional parameter.
|
int |
hashCode() |
boolean |
isParameter() |
String |
toString() |
as, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isPredicate, isSubquery
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot
as, in, in, in, in, isNotNull, isNull
public ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel, Class<T> javaType, String name)
public ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel, Class<T> javaType)
public void findRootAndParameters(CommonAbstractCriteriaImpl query)
findRootAndParameters
in interface InternalSelection
findRootAndParameters
in class ExpressionImpl<T>
public String getName()
getName
in interface javax.persistence.Parameter<T>
public String getInternalName()
public Integer getPosition()
getPosition
in interface javax.persistence.Parameter<T>
public Class<T> getParameterType()
getParameterType
in interface javax.persistence.Parameter<T>
IllegalStateException
- if invoked on a parameter
obtained from a Java persistence query language query or
native query when the implementation does not support this
use.public boolean isParameter()
isParameter
in interface InternalExpression
isParameter
in class ExpressionImpl<T>
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference