Package | Description |
---|---|
org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
org.mybatis.generator.api.dom.java | |
org.mybatis.generator.api.dom.java.render | |
org.mybatis.generator.codegen | |
org.mybatis.generator.internal | |
org.mybatis.generator.internal.util | |
org.mybatis.generator.runtime.dynamic.sql.elements |
Modifier and Type | Method and Description |
---|---|
default void |
CommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a field.
|
default void |
CommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports)
Adds a @Generated annotation to a field.
|
default void |
CommentGenerator.addFieldComment(Field field,
IntrospectedTable introspectedTable)
Adds the field comment.
|
default void |
CommentGenerator.addFieldComment(Field field,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn)
This method should add a Javadoc comment to the specified field.
|
default boolean |
Plugin.clientSelectListFieldGenerated(Field field,
Interface interfaze,
IntrospectedTable introspectedTable)
Called when the selectList field is generated in a MyBatis Dynamic SQL V2 runtime.
|
boolean |
CompositePlugin.clientSelectListFieldGenerated(Field field,
Interface interfaze,
IntrospectedTable introspectedTable) |
default boolean |
Plugin.modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType)
This method is called after the field is generated for a specific column
in a table.
|
boolean |
CompositePlugin.modelFieldGenerated(Field field,
TopLevelClass topLevelClass,
IntrospectedColumn introspectedColumn,
IntrospectedTable introspectedTable,
Plugin.ModelClassType modelClassType) |
Modifier and Type | Method and Description |
---|---|
List<Field> |
AbstractJavaType.getFields() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJavaType.addField(Field field) |
Constructor and Description |
---|
Field(Field field) |
Modifier and Type | Method and Description |
---|---|
List<String> |
FieldRenderer.render(Field field,
CompilationUnit compilationUnit) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
RenderingUtilities.renderFields(List<Field> fields,
CompilationUnit compilationUnit) |
Modifier and Type | Method and Description |
---|---|
static Method |
AbstractJavaGenerator.getGetter(Field field) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn,
Set<FullyQualifiedJavaType> imports) |
void |
DefaultCommentGenerator.addFieldAnnotation(Field field,
IntrospectedTable introspectedTable,
Set<FullyQualifiedJavaType> imports) |
void |
DefaultCommentGenerator.addFieldComment(Field field,
IntrospectedTable introspectedTable) |
void |
DefaultCommentGenerator.addFieldComment(Field field,
IntrospectedTable introspectedTable,
IntrospectedColumn introspectedColumn) |
Modifier and Type | Method and Description |
---|---|
static Field |
JavaBeansUtil.getJavaBeansField(IntrospectedColumn introspectedColumn,
Context context,
IntrospectedTable introspectedTable) |
static Field |
JavaBeansUtil.getJavaBeansFieldWithGeneratedAnnotation(IntrospectedColumn introspectedColumn,
Context context,
IntrospectedTable introspectedTable,
CompilationUnit compilationUnit) |
Modifier and Type | Method and Description |
---|---|
Field |
FieldAndImports.getField() |
Modifier and Type | Method and Description |
---|---|
boolean |
SelectListGenerator.callPlugins(Field field,
Interface interfaze) |
static FieldAndImports.Builder |
FieldAndImports.withField(Field field) |
FieldAndImports.Builder |
FieldAndImports.Builder.withField(Field field) |
Copyright © 2006–2024 MyBatis.org. All rights reserved.