Package | Description |
---|---|
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 | |
org.mybatis.generator.internal.rules | |
org.mybatis.generator.internal.types | |
org.mybatis.generator.internal.util | |
org.mybatis.generator.runtime.dynamic.sql.elements |
Modifier and Type | Field and Description |
---|---|
protected FullyQualifiedJavaType |
IntrospectedColumn.fullyQualifiedJavaType |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
void |
IntrospectedColumn.setFullyQualifiedJavaType(FullyQualifiedJavaType fullyQualifiedJavaType) |
Modifier and Type | Method and Description |
---|---|
void |
CommentGenerator.addClassAnnotation(InnerClass innerClass,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a class.
|
void |
CommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a field.
|
void |
CommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a field.
|
void |
CommentGenerator.addGeneralMethodAnnotation(Method method,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a method.
|
void |
CommentGenerator.addGeneralMethodAnnotation(Method method,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a method.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
OutputUtilities.calculateImports(Set<FullyQualifiedJavaType> importedTypes)
returns a unique set of "import xxx;" Strings for the set of types.
|
Modifier and Type | Class and Description |
---|---|
class |
PrimitiveTypeWrapper |
Modifier and Type | Method and Description |
---|---|
List<FullyQualifiedJavaType> |
Method.getExceptions()
Gets the exceptions.
|
List<FullyQualifiedJavaType> |
TypeParameter.getExtendsTypes() |
Set<FullyQualifiedJavaType> |
TopLevelClass.getImportedTypes() |
Set<FullyQualifiedJavaType> |
CompilationUnit.getImportedTypes() |
Set<FullyQualifiedJavaType> |
TopLevelEnumeration.getImportedTypes() |
Set<FullyQualifiedJavaType> |
Interface.getImportedTypes() |
Set<FullyQualifiedJavaType> |
InnerClass.getSuperInterfaceTypes()
Gets the super interface types.
|
Set<FullyQualifiedJavaType> |
CompilationUnit.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
InnerEnum.getSuperInterfaceTypes()
Gets the super interface types.
|
Set<FullyQualifiedJavaType> |
InnerInterface.getSuperInterfaceTypes() |
List<FullyQualifiedJavaType> |
FullyQualifiedJavaType.getTypeArguments() |
Modifier and Type | Method and Description |
---|---|
void |
Method.addException(FullyQualifiedJavaType exception)
Adds the exception.
|
void |
TopLevelClass.addImportedType(FullyQualifiedJavaType importedType) |
void |
CompilationUnit.addImportedType(FullyQualifiedJavaType importedType) |
void |
TopLevelEnumeration.addImportedType(FullyQualifiedJavaType importedType) |
void |
Interface.addImportedType(FullyQualifiedJavaType importedType) |
void |
InnerClass.addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
void |
InnerEnum.addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
void |
InnerInterface.addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
void |
FullyQualifiedJavaType.addTypeArgument(FullyQualifiedJavaType type) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
TopLevelClass.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
CompilationUnit.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
TopLevelEnumeration.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
Interface.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
Constructor and Description |
---|
Field(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) |
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)
Instantiates a new top level enumeration.
|
Constructor and Description |
---|
TypeParameter(String name,
List<FullyQualifiedJavaType> extendsTypes) |
Modifier and Type | Method and Description |
---|---|
FullyQualifiedJavaType |
AbstractDAOTemplate.getSuperClass() |
Modifier and Type | Method and Description |
---|---|
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getCheckedExceptions() |
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getImplementationImports() |
List<FullyQualifiedJavaType> |
AbstractDAOTemplate.getInterfaceImports() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Field and Description |
---|---|
protected static FullyQualifiedJavaType |
AbstractJavaProviderMethodGenerator.NEW_BUILDER_IMPORT |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCommentGenerator.addClassAnnotation(InnerClass innerClass,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports) |
void |
DefaultCommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn,
Set<FullyQualifiedJavaType> imports) |
void |
DefaultCommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports) |
void |
DefaultCommentGenerator.addGeneralMethodAnnotation(Method method,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn,
Set<FullyQualifiedJavaType> imports) |
void |
DefaultCommentGenerator.addGeneralMethodAnnotation(Method method,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports) |
Modifier and Type | Method and Description |
---|---|
FullyQualifiedJavaType |
BaseRules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
FullyQualifiedJavaType |
RulesDelegate.calculateAllFieldsClass() |
FullyQualifiedJavaType |
Rules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
Constructor and Description |
---|
JdbcTypeInformation(String jdbcTypeName,
FullyQualifiedJavaType fullyQualifiedJavaType) |
Modifier and Type | Method and Description |
---|---|
static String |
JavaBeansUtil.getGetterMethodName(String property,
FullyQualifiedJavaType fullyQualifiedJavaType)
Computes a getter method name.
|
Modifier and Type | Method and Description |
---|---|
Set<FullyQualifiedJavaType> |
MethodParts.getImports() |
Set<FullyQualifiedJavaType> |
MethodAndImports.getImports() |
Modifier and Type | Method and Description |
---|---|
MethodParts.Builder |
MethodParts.Builder.withImports(Set<FullyQualifiedJavaType> imports) |
MethodAndImports.Builder |
MethodAndImports.Builder.withImports(Set<FullyQualifiedJavaType> imports) |
Copyright © 2006–2018 MyBatis.org. All rights reserved.