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.internal.rules | |
org.mybatis.generator.internal.types | |
org.mybatis.generator.internal.util |
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 |
---|---|
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() |
Set<FullyQualifiedJavaType> |
TopLevelEnumeration.getImportedTypes() |
Set<FullyQualifiedJavaType> |
CompilationUnit.getImportedTypes() |
Set<FullyQualifiedJavaType> |
TopLevelClass.getImportedTypes() |
Set<FullyQualifiedJavaType> |
Interface.getImportedTypes() |
Set<FullyQualifiedJavaType> |
InnerEnum.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
InnerClass.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
CompilationUnit.getSuperInterfaceTypes() |
Set<FullyQualifiedJavaType> |
Interface.getSuperInterfaceTypes() |
Modifier and Type | Method and Description |
---|---|
void |
TopLevelEnumeration.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
CompilationUnit.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
TopLevelClass.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
Interface.addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
Constructor and Description |
---|
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) |
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 | Method and Description |
---|---|
FullyQualifiedJavaType |
BaseRules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
FullyQualifiedJavaType |
Rules.calculateAllFieldsClass()
Calculates the class that contains all fields.
|
FullyQualifiedJavaType |
RulesDelegate.calculateAllFieldsClass() |
Modifier and Type | Method and Description |
---|---|
FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.calculateJavaType(IntrospectedColumn introspectedColumn) |
FullyQualifiedJavaType |
JavaTypeResolverDefaultImpl.JdbcTypeInformation.getFullyQualifiedJavaType() |
Constructor and Description |
---|
JdbcTypeInformation(String jdbcTypeName,
FullyQualifiedJavaType fullyQualifiedJavaType) |
Modifier and Type | Method and Description |
---|---|
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 © 2010–2018 MyBatis.org. All rights reserved.