public abstract class AbstractExplicitParameterSpecification extends Object implements ExplicitParameterSpecification
Modifier | Constructor and Description |
---|---|
protected |
AbstractExplicitParameterSpecification(int sourceLine,
int sourceColumn)
Constructs an AbstractExplicitParameterSpecification.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderDisplayInfo
bind
protected AbstractExplicitParameterSpecification(int sourceLine, int sourceColumn)
sourceLine
- See getSourceLine()
sourceColumn
- See getSourceColumn()
public int getSourceLine()
ExplicitParameterSpecification
getSourceLine
in interface ExplicitParameterSpecification
public int getSourceColumn()
ExplicitParameterSpecification
ExplicitParameterSpecification.getSourceLine()
) where this parameter occurs.getSourceColumn
in interface ExplicitParameterSpecification
public Type getExpectedType()
ParameterSpecification
getExpectedType
in interface ParameterSpecification
public void setExpectedType(Type expectedType)
ParameterSpecification
setExpectedType
in interface ParameterSpecification
expectedType
- The type to expect.Copyright © 2020 JBoss by Red Hat. All rights reserved.