Methods Summary |
---|
public java.lang.String | getDisplayText()
return "{" + ( parameterSpecification == null ? "???" : parameterSpecification.renderDisplayInfo() ) + "}";
|
public org.hibernate.type.Type | getExpectedType()
return getHqlParameterSpecification() == null ? null : getHqlParameterSpecification().getExpectedType();
|
public org.hibernate.param.ParameterSpecification | getHqlParameterSpecification()
return parameterSpecification;
|
public java.lang.String | getRenderText(org.hibernate.engine.SessionFactoryImplementor sessionFactory)
int count = 0;
if ( getExpectedType() != null && ( count = getExpectedType().getColumnSpan( sessionFactory ) ) > 1 ) {
StringBuffer buffer = new StringBuffer();
buffer.append( "(?" );
for ( int i = 1; i < count; i++ ) {
buffer.append( ", ?" );
}
buffer.append( ")" );
return buffer.toString();
}
else {
return "?";
}
|
public void | setExpectedType(org.hibernate.type.Type expectedType)
getHqlParameterSpecification().setExpectedType( expectedType );
setDataType( expectedType );
|
public void | setHqlParameterSpecification(org.hibernate.param.ParameterSpecification parameterSpecification)
this.parameterSpecification = parameterSpecification;
|