T
- the type of the parameterpublic interface Parameter<T>
Query
,
TypedQuery
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the parameter name, or null if the parameter is
not a named parameter or no name has been assigned.
|
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.
|
java.lang.String getName()
java.lang.Integer getPosition()
java.lang.Class<T> getParameterType()
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