|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaTypeResolver
This interface describes methods that are required in any Java type resolver. A Java type resolver is used to make a default translation between a JDBC type as returned from the database introspection process, and a Java type.
Method Summary | |
---|---|
void |
addConfigurationProperties(java.util.Properties properties)
Adds properties for this instance from any properties configured in the JavaTypeResolverConfiguration. |
FullyQualifiedJavaType |
calculateJavaType(IntrospectedColumn introspectedColumn)
Calculates and returns the Java type that should be associated with this column based on the jdbc type, length, and scale of the column. |
void |
setIbatorContext(IbatorContext ibatorContext)
Sets the instance of the IbatorConfiguration object associated with this instance. |
void |
setWarnings(java.util.List<java.lang.String> warnings)
ibator will supply a list to this method. |
Method Detail |
---|
void addConfigurationProperties(java.util.Properties properties)
properties
- All properties from the configurationvoid setIbatorContext(IbatorContext ibatorContext)
ibatorContext
- The current IbatorContextvoid setWarnings(java.util.List<java.lang.String> warnings)
warnings
- FullyQualifiedJavaType calculateJavaType(IntrospectedColumn introspectedColumn)
introspectedColumn
- the column whose Java type needs to be
calculated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |