|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl
public class JavaTypeResolverDefaultImpl
Field Summary | |
---|---|
protected Context |
context
|
protected boolean |
forceBigDecimals
|
protected java.util.Properties |
properties
|
protected java.util.Map<java.lang.Integer,org.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl.JdbcTypeInformation> |
typeMap
|
protected java.util.List<java.lang.String> |
warnings
|
Constructor Summary | |
---|---|
JavaTypeResolverDefaultImpl()
|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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,org.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl.JdbcTypeInformation> typeMap
Constructor Detail |
---|
public JavaTypeResolverDefaultImpl()
Method Detail |
---|
public void addConfigurationProperties(java.util.Properties properties)
JavaTypeResolver
addConfigurationProperties
in interface JavaTypeResolver
properties
- All properties from the configurationpublic FullyQualifiedJavaType calculateJavaType(IntrospectedColumn introspectedColumn)
JavaTypeResolver
calculateJavaType
in interface JavaTypeResolver
introspectedColumn
- the column whose Java type needs to be calculated
public java.lang.String calculateJdbcTypeName(IntrospectedColumn introspectedColumn)
JavaTypeResolver
calculateJdbcTypeName
in interface JavaTypeResolver
introspectedColumn
- the column whose Java type needs to be calculated
public void setWarnings(java.util.List<java.lang.String> warnings)
JavaTypeResolver
setWarnings
in interface JavaTypeResolver
public void setContext(Context context)
JavaTypeResolver
setContext
in interface JavaTypeResolver
context
- The current Context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |