public interface JavaTypeResolver
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationProperties(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.
|
String |
calculateJdbcTypeName(IntrospectedColumn introspectedColumn)
Calculates and returns the JDBC type name that should be associated with
this column based on the jdbc type, length, and scale of the column.
|
void |
setContext(Context context)
Sets the instance of the Context object associated with this instance.
|
void |
setWarnings(List<String> warnings)
The generator will supply a list to this method.
|
void addConfigurationProperties(Properties properties)
properties
- All properties from the configurationvoid setContext(Context context)
context
- The current Contextvoid setWarnings(List<String> warnings)
warnings
- FullyQualifiedJavaType calculateJavaType(IntrospectedColumn introspectedColumn)
introspectedColumn
- the column whose Java type needs to be calculatedString calculateJdbcTypeName(IntrospectedColumn introspectedColumn)
introspectedColumn
- the column whose Java type needs to be calculatedCopyright © 2010–2018 MyBatis.org. All rights reserved.