public abstract class AbstractParameterDescriptor extends Object implements QueryParameter
| Constructor and Description |
|---|
AbstractParameterDescriptor(int[] sourceLocations,
Type expectedType) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getExpectedType() |
Type |
getHibernateType()
Get the Hibernate Type associated with this parameter.
|
String |
getName()
Return the parameter name, or null if the parameter is
not a named parameter or no name has been assigned.
|
Class |
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[] |
getSourceLocations() |
void |
resetExpectedType(Type expectedType) |
public AbstractParameterDescriptor(int[] sourceLocations,
Type expectedType)
public String getName()
Parameterpublic Integer getPosition()
ParametergetPosition in interface Parameterpublic Class getParameterType()
ParametergetParameterType in interface Parameterpublic Type getHibernateType()
QueryParametergetHibernateType in interface QueryParameterpublic int[] getSourceLocations()
getSourceLocations in interface QueryParameterpublic Type getExpectedType()
public void resetExpectedType(Type expectedType)
Copyright © 2019 JBoss by Red Hat. All rights reserved.