public class ParameterExpressionImpl<T> extends ExpressionImpl<T> implements javax.persistence.criteria.ParameterExpression<T>
Constructor and Description |
---|
ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<T> javaType) |
ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<T> javaType,
java.lang.Integer position) |
ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<T> javaType,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
void |
findRootAndParameters(AbstractQueryImpl query) |
java.lang.String |
getName()
Return the parameter name, or null if the parameter is not a named
parameter.
|
java.lang.Class<T> |
getParameterType()
Return the Java type of the parameter.
|
java.lang.Integer |
getPosition()
Return the parameter position, or null if the parameter is not a
positional parameter.
|
int |
hashCode() |
boolean |
isParameter() |
as, in, in, in, in, isCompoundExpression, isExpression, isLiteral, isNotNull, isNull, isPredicate, isSubquery
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot
getClass, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
public ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<T> javaType, java.lang.String name)
public ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<T> javaType)
public ParameterExpressionImpl(javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<T> javaType, java.lang.Integer position)
public void findRootAndParameters(AbstractQueryImpl query)
findRootAndParameters
in interface InternalSelection
findRootAndParameters
in class ExpressionImpl<T>
public java.lang.String getName()
getName
in interface javax.persistence.Parameter<T>
public java.lang.Integer getPosition()
getPosition
in interface javax.persistence.Parameter<T>
public java.lang.Class<T> getParameterType()
getParameterType
in interface javax.persistence.Parameter<T>
java.lang.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 int hashCode()
hashCode
in class java.lang.Object
public boolean isParameter()
isParameter
in interface InternalExpression
isParameter
in class ExpressionImpl<T>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
EclipseLink 2.4.2, "build v20130514-5956486" API Reference