|
||||||||||
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. |
void |
initializeResolvedJavaType(ColumnDefinition cd)
Initializes the ResolvedJavaType property of the ColumnDescription based on the jdbc type, length, and scale of the column. |
void |
setAbatorContext(AbatorContext abatorContext)
Sets the instance of the AbatorConfiguration object associated with this instance. |
void |
setWarnings(java.util.List warnings)
Abator will supply a list to this method. |
Method Detail |
---|
void addConfigurationProperties(java.util.Properties properties)
properties
- All properties from the configurationvoid setAbatorContext(AbatorContext abatorContext)
abatorContext
- The current AbatorContextvoid setWarnings(java.util.List warnings)
warnings
- void initializeResolvedJavaType(ColumnDefinition cd) throws UnsupportedDataTypeException
cd
- the JDBC type will be used first to resolve the Java type. If
the type cannot be resolved from this value, then we will try
from the type name (which may be the qualified UDT from the
database)
UnsupportedDataTypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |