|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ibatis.abator.internal.rules.AbatorRules
org.apache.ibatis.abator.internal.rules.FlatModelRules
public class FlatModelRules
This class encapsulates all the code generation rules for a table using the flat model.
| Field Summary |
|---|
| Fields inherited from class org.apache.ibatis.abator.internal.rules.AbatorRules |
|---|
columnDefinitions, tableConfiguration |
| Constructor Summary | |
|---|---|
FlatModelRules(TableConfiguration tableConfiguration,
ColumnDefinitions columnDefinitions)
|
|
| Method Summary | |
|---|---|
boolean |
generateBaseRecordClass()
We always generate a base record in the flat model. |
boolean |
generatePrimaryKeyClass()
We never generate a primary key in the flat model. |
boolean |
generateRecordWithBLOBsClass()
We never generate a record with BLOBs class in the flat model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlatModelRules(TableConfiguration tableConfiguration,
ColumnDefinitions columnDefinitions)
| Method Detail |
|---|
public boolean generatePrimaryKeyClass()
generatePrimaryKeyClass in class AbatorRulespublic boolean generateBaseRecordClass()
generateBaseRecordClass in class AbatorRulespublic boolean generateRecordWithBLOBsClass()
generateRecordWithBLOBsClass in class AbatorRules
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||