| java.lang.Object | ||
| ↳ | org.mybatis.generator.internal.rules.BaseRules | |
| ↳ | org.mybatis.generator.internal.rules.HierarchicalModelRules | |
This class encapsulates all the code generation rules for a table using the hierarchical model.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mybatis.generator.internal.rules.BaseRules
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Implements the rule for generating a base record.
| |||||||||||
Implements the rule for determining whether to generate a primary key
class.
| |||||||||||
Implements the rule for generating a record with BLOBs.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mybatis.generator.internal.rules.BaseRules
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.mybatis.generator.internal.rules.Rules
| |||||||||||
Implements the rule for generating a base record. If the table has fields that are not in the primary key, and non-BLOB fields, then generate the class.
Implements the rule for determining whether to generate a primary key class. If the physical table has a primary key, then we generate the class.
Implements the rule for generating a record with BLOBs. A record with BLOBs is generated if the table contains any BLOB fields.