|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
ExplicitParameterSpecification
getSourceLine in interface ExplicitParameterSpecificationpublic int getSourceColumn()
ExplicitParameterSpecificationExplicitParameterSpecification.getSourceLine()) where this parameter occurs.
getSourceColumn in interface ExplicitParameterSpecificationpublic Type getExpectedType()
ParameterSpecification
getExpectedType in interface ParameterSpecificationpublic void setExpectedType(Type expectedType)
ParameterSpecification
setExpectedType in interface ParameterSpecificationexpectedType - The type to expect.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||