| 程序包 | 说明 |
|---|---|
| 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.internal.rules | |
| org.mybatis.generator.internal.types | |
| org.mybatis.generator.internal.util |
| 限定符和类型 | 字段和说明 |
|---|---|
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 Set<String> |
OutputUtilities.calculateImports(Set<FullyQualifiedJavaType> importedTypes)
returns a unique set of "import xxx;" Strings for the set of types
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PrimitiveTypeWrapper |
| 限定符和类型 | 方法和说明 |
|---|---|
List<FullyQualifiedJavaType> |
Method.getExceptions() |
Set<FullyQualifiedJavaType> |
TopLevelEnumeration.getImportedTypes() |
Set<FullyQualifiedJavaType> |
TopLevelClass.getImportedTypes() |
Set<FullyQualifiedJavaType> |
Interface.getImportedTypes() |
Set<FullyQualifiedJavaType> |
CompilationUnit.getImportedTypes() |
Set<FullyQualifiedJavaType> |
Interface.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
InnerEnum.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
InnerClass.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
CompilationUnit.getSuperInterfaceTypes() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Method.addException(FullyQualifiedJavaType exception) |
void |
TopLevelEnumeration.addImportedType(FullyQualifiedJavaType importedType) |
void |
TopLevelClass.addImportedType(FullyQualifiedJavaType importedType) |
void |
Interface.addImportedType(FullyQualifiedJavaType importedType) |
void |
CompilationUnit.addImportedType(FullyQualifiedJavaType importedType) |
void |
Interface.addSuperInterface(FullyQualifiedJavaType superInterface) |
void |
InnerEnum.addSuperInterface(FullyQualifiedJavaType superInterface) |
void |
InnerClass.addSuperInterface(FullyQualifiedJavaType superInterface) |
void |
FullyQualifiedJavaType.addTypeArgument(FullyQualifiedJavaType type) |
int |
FullyQualifiedJavaType.compareTo(FullyQualifiedJavaType other) |
void |
Method.setReturnType(FullyQualifiedJavaType returnType) |
void |
InnerClass.setSuperClass(FullyQualifiedJavaType superClass) |
void |
Field.setType(FullyQualifiedJavaType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TopLevelEnumeration.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
TopLevelClass.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
Interface.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
CompilationUnit.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
| 构造器和说明 |
|---|
Field(String name,
FullyQualifiedJavaType type) |
InnerClass(FullyQualifiedJavaType type) |
InnerEnum(FullyQualifiedJavaType type) |
Interface(FullyQualifiedJavaType type) |
Parameter(FullyQualifiedJavaType type,
String name) |
Parameter(FullyQualifiedJavaType type,
String name,
boolean isVarargs) |
Parameter(FullyQualifiedJavaType type,
String name,
String annotation) |
Parameter(FullyQualifiedJavaType type,
String name,
String annotation,
boolean isVarargs) |
TopLevelClass(FullyQualifiedJavaType type) |
TopLevelEnumeration(FullyQualifiedJavaType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
AbstractDAOTemplate.getSuperClass() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getCheckedExceptions() |
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getImplementationImports() |
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getInterfaceImports() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
AbstractDAOTemplate.addCheckedException(FullyQualifiedJavaType type) |
protected void |
AbstractDAOTemplate.addImplementationImport(FullyQualifiedJavaType type) |
protected void |
AbstractDAOTemplate.addInterfaceImport(FullyQualifiedJavaType type) |
Method |
AbstractDAOTemplate.getConstructorClone(CommentGenerator commentGenerator,
FullyQualifiedJavaType type,
IntrospectedTable introspectedTable) |
protected void |
AbstractDAOTemplate.setSuperClass(FullyQualifiedJavaType superClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
RulesDelegate.calculateAllFieldsClass() |
FullyQualifiedJavaType |
Rules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
FullyQualifiedJavaType |
BaseRules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateJavaType(IntrospectedColumn introspectedColumn) |
FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.JdbcTypeInformation.getFullyQualifiedJavaType() |
| 构造器和说明 |
|---|
JdbcTypeInformation(String jdbcTypeName,
FullyQualifiedJavaType fullyQualifiedJavaType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
JavaBeansUtil.getGetterMethodName(String property,
FullyQualifiedJavaType fullyQualifiedJavaType)
JavaBeans rules:
eMail geteMail() firstName getFirstName() URL getURL() XAxis
getXAxis() a getA() B invalid - this method assumes that this is not
the case.
|
Copyright © 2017. All Rights Reserved.