| 程序包 | 说明 |
|---|---|
| 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 |
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
Interface.getSuperClass() |
FullyQualifiedJavaType |
InnerClass.getSuperClass()
Gets the super class.
|
FullyQualifiedJavaType |
CompilationUnit.getSuperClass()
Gets the super class.
|
FullyQualifiedJavaType |
Parameter.getType() |
FullyQualifiedJavaType |
Interface.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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<FullyQualifiedJavaType> |
Method.getExceptions()
Gets the exceptions.
|
Set<FullyQualifiedJavaType> |
TopLevelEnumeration.getImportedTypes() |
Set<FullyQualifiedJavaType> |
TopLevelClass.getImportedTypes()
Gets the imported types.
|
Set<FullyQualifiedJavaType> |
Interface.getImportedTypes() |
Set<FullyQualifiedJavaType> |
CompilationUnit.getImportedTypes()
Gets the imported types.
|
Set<FullyQualifiedJavaType> |
Interface.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
InnerEnum.getSuperInterfaceTypes()
Gets the super interface types.
|
Set<FullyQualifiedJavaType> |
InnerClass.getSuperInterfaceTypes()
Gets the super interface types.
|
Set<FullyQualifiedJavaType> |
CompilationUnit.getSuperInterfaceTypes()
Gets the super interface types.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
Interface.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 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(Set<FullyQualifiedJavaType> importedTypes) |
void |
TopLevelClass.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
Interface.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
CompilationUnit.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes)
Adds the imported types.
|
| 构造器和说明 |
|---|
Field(String name,
FullyQualifiedJavaType type) |
InnerClass(FullyQualifiedJavaType type)
Instantiates a new inner class.
|
InnerEnum(FullyQualifiedJavaType type)
Instantiates a new inner enum.
|
Interface(FullyQualifiedJavaType type)
Instantiates a new interface.
|
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)
Instantiates a new top level class.
|
TopLevelEnumeration(FullyQualifiedJavaType type)
Instantiates a new top level enumeration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
AbstractDAOTemplate.getSuperClass()
Gets the super class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getCheckedExceptions()
Gets the checked exceptions.
|
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getImplementationImports()
Gets the implementation imports.
|
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(String jdbcTypeName,
FullyQualifiedJavaType fullyQualifiedJavaType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
JavaBeansUtil.getGetterMethodName(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.
|
Copyright © 2006–2016 MyBatis.org. All rights reserved.