|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.drinkjava2.jdialects.TableModelUtilsOfEntity
public abstract class TableModelUtilsOfEntity
The tool to convert entity classes to TableModels
| Constructor Summary | |
|---|---|
TableModelUtilsOfEntity()
|
|
| Method Summary | |
|---|---|
static TableModel[] |
entity2Model(Class<?>... entityClasses)
Convert entity or JPA annotated entity classes to "TableModel" Object, |
static TableModel |
oneEntity2Model(Class<?> entityClass)
Convert a Java entity class or JPA annotated entity classes to "TableModel" Object, if this class has a "config(TableModel tableModel)" method, will also call it |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableModelUtilsOfEntity()
| Method Detail |
|---|
public static TableModel[] entity2Model(Class<?>... entityClasses)
This method support below JPA Annotations: Entity, Table, Column, GeneratedValue, GenerationType, Id, Index, Transient, UniqueConstraint And below annotations are added by jDialects: FKey, FKey1, FKey2, FKey3, Ref
entityClasses -
public static TableModel oneEntity2Model(Class<?> entityClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||