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()
Parameter
public Integer getPosition()
Parameter
getPosition
in interface Parameter
public Class getParameterType()
Parameter
getParameterType
in interface Parameter
public Type getHibernateType()
QueryParameter
getHibernateType
in interface QueryParameter
public int[] getSourceLocations()
getSourceLocations
in interface QueryParameter
public Type getExpectedType()
public void resetExpectedType(Type expectedType)
Copyright © 2019 JBoss by Red Hat. All rights reserved.