| 程序包 | 说明 |
|---|---|
| org.asia.mybatis.generator.plugins | |
| org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
| org.mybatis.generator.api.dom | |
| org.mybatis.generator.api.dom.java | |
| org.mybatis.generator.codegen.ibatis2.dao.templates | |
| org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider | |
| org.mybatis.generator.internal.rules | |
| org.mybatis.generator.internal.types | |
| org.mybatis.generator.internal.util | |
| test |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
MySqlPaginationPlugin.addColumn(java.lang.String name,
java.lang.String jdbcType,
java.lang.String javaName,
FullyQualifiedJavaType javaType,
boolean isSequence,
boolean isKey,
IntrospectedTable introspectedTable) |
protected void |
MySqlPaginationPlugin.createCriteriaMethod(java.lang.String fieldName,
java.lang.String propertyName,
FullyQualifiedJavaType type,
InnerClass returnClazz,
InnerClass innerClazz,
TopLevelClass outClazz) |
protected void |
MySqlPaginationPlugin.createInnerMethod(JavaVisibility visi,
java.lang.String name,
java.lang.String annotation,
FullyQualifiedJavaType returnType,
java.util.List<Parameter> parms,
java.lang.String body,
InnerClass innerClass,
TopLevelClass outClass) |
protected void |
MySqlPaginationPlugin.createMethod(JavaVisibility visi,
java.lang.String name,
java.lang.String annotation,
FullyQualifiedJavaType returnType,
java.util.List<Parameter> parms,
java.lang.String body,
TopLevelClass topLevelClass) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected FullyQualifiedJavaType |
IntrospectedColumn.fullyQualifiedJavaType |
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
JavaTypeResolver.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.
|
FullyQualifiedJavaType |
IntrospectedColumn.getFullyQualifiedJavaType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
IntrospectedColumn.setFullyQualifiedJavaType(FullyQualifiedJavaType fullyQualifiedJavaType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.util.Set<java.lang.String> |
OutputUtilities.calculateImports(java.util.Set<FullyQualifiedJavaType> importedTypes)
returns a unique set of "import xxx;" Strings for the set of types.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PrimitiveTypeWrapper |
| 限定符和类型 | 方法和说明 |
|---|---|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getBooleanPrimitiveInstance()
Gets the boolean primitive instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getCriteriaInstance()
Gets the criteria instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getDateInstance()
Gets the date instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getGeneratedCriteriaInstance()
Gets the generated criteria instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getIntInstance()
Gets the int instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getNewArrayListInstance()
Gets the new array list instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getNewHashMapInstance()
Gets the new hash map instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getNewIteratorInstance()
Gets the new iterator instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getNewListInstance()
Gets the new list instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getNewMapInstance()
Gets the new map instance.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getObjectInstance()
Gets the object instance.
|
FullyQualifiedJavaType |
Method.getReturnType()
Gets the return type.
|
static FullyQualifiedJavaType |
FullyQualifiedJavaType.getStringInstance()
Gets the string instance.
|
FullyQualifiedJavaType |
TopLevelEnumeration.getSuperClass() |
FullyQualifiedJavaType |
InnerInterface.getSuperClass() |
FullyQualifiedJavaType |
InnerClass.getSuperClass()
Gets the super class.
|
FullyQualifiedJavaType |
CompilationUnit.getSuperClass()
Gets the super class.
|
FullyQualifiedJavaType |
Parameter.getType() |
FullyQualifiedJavaType |
InnerInterface.getType()
Gets the type.
|
FullyQualifiedJavaType |
InnerEnum.getType()
Gets the type.
|
FullyQualifiedJavaType |
InnerClass.getType()
Gets the type.
|
FullyQualifiedJavaType |
Field.getType() |
FullyQualifiedJavaType |
CompilationUnit.getType()
Gets the type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<FullyQualifiedJavaType> |
Method.getExceptions()
Gets the exceptions.
|
java.util.List<FullyQualifiedJavaType> |
TypeParameter.getExtendsTypes() |
java.util.Set<FullyQualifiedJavaType> |
TopLevelEnumeration.getImportedTypes() |
java.util.Set<FullyQualifiedJavaType> |
TopLevelClass.getImportedTypes()
Gets the imported types.
|
java.util.Set<FullyQualifiedJavaType> |
Interface.getImportedTypes() |
java.util.Set<FullyQualifiedJavaType> |
CompilationUnit.getImportedTypes()
Gets the imported types.
|
java.util.Set<FullyQualifiedJavaType> |
InnerInterface.getSuperInterfaceTypes() |
java.util.Set<FullyQualifiedJavaType> |
InnerEnum.getSuperInterfaceTypes()
Gets the super interface types.
|
java.util.Set<FullyQualifiedJavaType> |
InnerClass.getSuperInterfaceTypes()
Gets the super interface types.
|
java.util.Set<FullyQualifiedJavaType> |
CompilationUnit.getSuperInterfaceTypes()
Gets the super interface types.
|
java.util.List<FullyQualifiedJavaType> |
FullyQualifiedJavaType.getTypeArguments() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Method.addException(FullyQualifiedJavaType exception)
Adds the exception.
|
void |
TopLevelEnumeration.addImportedType(FullyQualifiedJavaType importedType) |
void |
TopLevelClass.addImportedType(FullyQualifiedJavaType importedType) |
void |
Interface.addImportedType(FullyQualifiedJavaType importedType) |
void |
CompilationUnit.addImportedType(FullyQualifiedJavaType importedType)
Adds the imported type.
|
void |
InnerInterface.addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
void |
InnerEnum.addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
void |
InnerClass.addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
void |
FullyQualifiedJavaType.addTypeArgument(FullyQualifiedJavaType type)
Adds the type argument.
|
static java.lang.String |
JavaDomUtils.calculateTypeName(CompilationUnit compilationUnit,
FullyQualifiedJavaType fqjt)
Calculates type names for writing into generated Java.
|
int |
FullyQualifiedJavaType.compareTo(FullyQualifiedJavaType other) |
void |
Method.setReturnType(FullyQualifiedJavaType returnType)
Sets the return type.
|
void |
InnerClass.setSuperClass(FullyQualifiedJavaType superClass)
Sets the super class.
|
void |
Field.setType(FullyQualifiedJavaType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TopLevelEnumeration.addImportedTypes(java.util.Set<FullyQualifiedJavaType> importedTypes) |
void |
TopLevelClass.addImportedTypes(java.util.Set<FullyQualifiedJavaType> importedTypes) |
void |
Interface.addImportedTypes(java.util.Set<FullyQualifiedJavaType> importedTypes) |
void |
CompilationUnit.addImportedTypes(java.util.Set<FullyQualifiedJavaType> importedTypes)
Adds the imported types.
|
| 构造器和说明 |
|---|
Field(java.lang.String name,
FullyQualifiedJavaType type) |
InnerClass(FullyQualifiedJavaType type)
Instantiates a new inner class.
|
InnerEnum(FullyQualifiedJavaType type)
Instantiates a new inner enum.
|
InnerInterface(FullyQualifiedJavaType type)
Instantiates a new interface.
|
Interface(FullyQualifiedJavaType type)
Instantiates a new interface.
|
Parameter(FullyQualifiedJavaType type,
java.lang.String name) |
Parameter(FullyQualifiedJavaType type,
java.lang.String name,
boolean isVarargs) |
Parameter(FullyQualifiedJavaType type,
java.lang.String name,
java.lang.String annotation) |
Parameter(FullyQualifiedJavaType type,
java.lang.String name,
java.lang.String annotation,
boolean isVarargs) |
TopLevelClass(FullyQualifiedJavaType type)
Instantiates a new top level class.
|
TopLevelEnumeration(FullyQualifiedJavaType type)
Instantiates a new top level enumeration.
|
| 构造器和说明 |
|---|
TypeParameter(java.lang.String name,
java.util.List<FullyQualifiedJavaType> extendsTypes) |
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
AbstractDAOTemplate.getSuperClass()
Gets the super class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getCheckedExceptions()
Gets the checked exceptions.
|
java.util.List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getImplementationImports()
Gets the implementation imports.
|
java.util.List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getInterfaceImports()
Gets the interface imports.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
AbstractDAOTemplate.addCheckedException(FullyQualifiedJavaType type)
Adds the checked exception.
|
protected void |
AbstractDAOTemplate.addImplementationImport(FullyQualifiedJavaType type)
Adds the implementation import.
|
protected void |
AbstractDAOTemplate.addInterfaceImport(FullyQualifiedJavaType type)
Adds the interface import.
|
Method |
AbstractDAOTemplate.getConstructorClone(CommentGenerator commentGenerator,
FullyQualifiedJavaType type,
IntrospectedTable introspectedTable)
Gets the constructor clone.
|
protected void |
AbstractDAOTemplate.setSuperClass(FullyQualifiedJavaType superClass)
Sets the super class.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected static FullyQualifiedJavaType |
AbstractJavaProviderMethodGenerator.NEW_BUILDER_IMPORT |
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
RulesDelegate.calculateAllFieldsClass() |
FullyQualifiedJavaType |
Rules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
FullyQualifiedJavaType |
BaseRules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateBigDecimalReplacement(IntrospectedColumn column,
FullyQualifiedJavaType defaultType) |
protected FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateBitReplacement(IntrospectedColumn column,
FullyQualifiedJavaType defaultType) |
FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateJavaType(IntrospectedColumn introspectedColumn) |
FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.JdbcTypeInformation.getFullyQualifiedJavaType() |
protected FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.overrideDefaultType(IntrospectedColumn column,
FullyQualifiedJavaType defaultType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateBigDecimalReplacement(IntrospectedColumn column,
FullyQualifiedJavaType defaultType) |
protected FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateBitReplacement(IntrospectedColumn column,
FullyQualifiedJavaType defaultType) |
protected FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.overrideDefaultType(IntrospectedColumn column,
FullyQualifiedJavaType defaultType) |
| 构造器和说明 |
|---|
JdbcTypeInformation(java.lang.String jdbcTypeName,
FullyQualifiedJavaType fullyQualifiedJavaType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
JavaBeansUtil.getGetterMethodName(java.lang.String property,
FullyQualifiedJavaType fullyQualifiedJavaType)
JavaBeans rules:
eMail > geteMail() firstName > getFirstName() URL $gt; getURL() XAxis > getXAxis() a > getA() B >
invalid - this method assumes that this is not the case.
|
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
MyJavaTypeResolverDefaultImpl.calculateJavaType(IntrospectedColumn introspectedColumn) |
FullyQualifiedJavaType |
MyJavaTypeResolverDefaultImpl.JdbcTypeInformation.getFullyQualifiedJavaType() |
| 构造器和说明 |
|---|
JdbcTypeInformation(java.lang.String jdbcTypeName,
FullyQualifiedJavaType fullyQualifiedJavaType) |
Copyright © 2018. All Rights Reserved.