T
- the type of the parameterpublic interface Parameter<T>
Query
,
TypedQuery
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the parameter name, or null if the parameter is
not a named parameter or no name has been assigned.
|
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.
|
String getName()
Integer getPosition()
Class<T> getParameterType()
IllegalStateException
- if invoked on a parameter
obtained from a Java persistence query language
query or native query when the implementation does
not support this useCopyright © 2012 JBoss by Red Hat. All Rights Reserved.