public class MyJavaTypeResolverDefaultImpl extends java.lang.Object implements JavaTypeResolver
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MyJavaTypeResolverDefaultImpl.JdbcTypeInformation |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Context |
context |
protected boolean |
forceBigDecimals |
protected java.util.Properties |
properties |
protected java.util.Map<java.lang.Integer,MyJavaTypeResolverDefaultImpl.JdbcTypeInformation> |
typeMap |
protected java.util.List<java.lang.String> |
warnings |
| 构造器和说明 |
|---|
MyJavaTypeResolverDefaultImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
java.lang.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(java.util.List<java.lang.String> warnings)
The generator will supply a list to this method.
|
protected java.util.List<java.lang.String> warnings
protected java.util.Properties properties
protected Context context
protected boolean forceBigDecimals
protected java.util.Map<java.lang.Integer,MyJavaTypeResolverDefaultImpl.JdbcTypeInformation> typeMap
public void addConfigurationProperties(java.util.Properties properties)
JavaTypeResolveraddConfigurationProperties 在接口中 JavaTypeResolverproperties - All properties from the configurationpublic FullyQualifiedJavaType calculateJavaType(IntrospectedColumn introspectedColumn)
JavaTypeResolvercalculateJavaType 在接口中 JavaTypeResolverintrospectedColumn - the column whose Java type needs to be calculatedpublic java.lang.String calculateJdbcTypeName(IntrospectedColumn introspectedColumn)
JavaTypeResolvercalculateJdbcTypeName 在接口中 JavaTypeResolverintrospectedColumn - the column whose Java type needs to be calculatedpublic void setWarnings(java.util.List<java.lang.String> warnings)
JavaTypeResolversetWarnings 在接口中 JavaTypeResolverwarnings - the new warningspublic void setContext(Context context)
JavaTypeResolversetContext 在接口中 JavaTypeResolvercontext - The current ContextCopyright © 2018. All Rights Reserved.