|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.param.AbstractExplicitParameterSpecification
public abstract class AbstractExplicitParameterSpecification
Convenience base class for explicitly defined query parameters.
Constructor Summary | |
---|---|
protected |
AbstractExplicitParameterSpecification(int sourceLine,
int sourceColumn)
Constructs an AbstractExplicitParameterSpecification. |
Method Summary | |
---|---|
Type |
getExpectedType()
Get the type which we are expeting for a bind into this parameter based on translated contextual information. |
int |
getSourceColumn()
Retrieves the column number (within the ExplicitParameterSpecification.getSourceLine() ) where this parameter occurs. |
int |
getSourceLine()
Retrieves the line number on which this parameter occurs in the source query. |
void |
setExpectedType(Type expectedType)
Injects the expected type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.param.ParameterSpecification |
---|
bind, renderDisplayInfo |
Constructor Detail |
---|
protected AbstractExplicitParameterSpecification(int sourceLine, int sourceColumn)
sourceLine
- See getSourceLine()
sourceColumn
- See getSourceColumn()
Method Detail |
---|
public int getSourceLine()
getSourceLine
in interface ExplicitParameterSpecification
public int getSourceColumn()
ExplicitParameterSpecification.getSourceLine()
) where this parameter occurs.
getSourceColumn
in interface ExplicitParameterSpecification
public Type getExpectedType()
getExpectedType
in interface ParameterSpecification
public void setExpectedType(Type expectedType)
setExpectedType
in interface ParameterSpecification
expectedType
- The type to expect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |