Package org.hibernate.param
Interface ParameterSpecification
-
- All Superinterfaces:
ParameterBinder
- All Known Subinterfaces:
ExplicitParameterSpecification
- All Known Implementing Classes:
AbstractExplicitParameterSpecification
,CollectionFilterKeyParameterSpecification
,DynamicFilterParameterSpecification
,NamedParameterSpecification
,PositionalParameterSpecification
,VersionTypeSeedParameterSpecification
public interface ParameterSpecification extends ParameterBinder
Maintains information relating to parameters which need to get bound into a JDBCPreparedStatement
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
getExpectedType()
Get the type which we are expeting for a bind into this parameter based on translated contextual information.java.lang.String
renderDisplayInfo()
Render this parameter into displayable info (for logging, etc).void
setExpectedType(Type expectedType)
Injects the expected type.-
Methods inherited from interface org.hibernate.param.ParameterBinder
bind
-
-
-
-
Method Detail
-
getExpectedType
Type getExpectedType()
Get the type which we are expeting for a bind into this parameter based on translated contextual information.- Returns:
- The expected type.
-
setExpectedType
void setExpectedType(Type expectedType)
Injects the expected type. Called during translation.- Parameters:
expectedType
- The type to expect.
-
renderDisplayInfo
java.lang.String renderDisplayInfo()
Render this parameter into displayable info (for logging, etc).- Returns:
- The displayable info.
-
-