ENTITY
- The type representing the enitity being persisted.ENTITYBUILDER
- The type of object that can build an ENTITY
instance.public interface KeylessDaoDescriptor<ENTITY,ENTITYBUILDER>
ENTITY
, except for
the primary key.
See also: DaoDescriptor
Modifier and Type | Method and Description |
---|---|
default List<Column<ENTITY,ENTITYBUILDER>> |
allColumns()
All the columns of the underlying table, both data type and join type.
|
Function<ENTITYBUILDER,ENTITY> |
buildFunction() |
List<ChildrenDescriptor<ENTITY,?,ENTITYBUILDER,?>> |
childrenDescriptors()
The definitions of any entities that are owned by type
ENTITY |
List<Column<ENTITY,ENTITYBUILDER>> |
dataColumns()
The columns that contain the data that make up the object
|
default List<Column<ENTITY,ENTITYBUILDER>> |
dataColumnsWithParent() |
static <ENTITY,ENTITYBUILDER,P,PB> |
dataColumnsWithParent(List<Column<ENTITY,ENTITYBUILDER>> dataColumns,
ParentColumn<ENTITY,P,ENTITYBUILDER,PB> parentColumn,
boolean hasParent) |
default boolean |
hasParent() |
List<JoinColumn<ENTITY,?,ENTITYBUILDER,?>> |
joinColumns()
The columns that contain references to foreign keys to other objects
|
<P,PB> ParentColumn<ENTITY,P,ENTITYBUILDER,PB> |
parentColumn() |
default ColumnSelection<ENTITY,ENTITYBUILDER> |
select(String... columnNames) |
Supplier<ENTITYBUILDER> |
supplier()
The mechanism to use to instantiate a new instance of type
ENTITY ,
generally a no-argument constructor of the class. |
String |
tableName()
The name of the table that is used to persist type
ENTITY |
String tableName()
ENTITY
Supplier<ENTITYBUILDER> supplier()
ENTITY
,
generally a no-argument constructor of the class.List<Column<ENTITY,ENTITYBUILDER>> dataColumns()
List<JoinColumn<ENTITY,?,ENTITYBUILDER,?>> joinColumns()
List<ChildrenDescriptor<ENTITY,?,ENTITYBUILDER,?>> childrenDescriptors()
ENTITY
<P,PB> ParentColumn<ENTITY,P,ENTITYBUILDER,PB> parentColumn()
Function<ENTITYBUILDER,ENTITY> buildFunction()
default boolean hasParent()
default List<Column<ENTITY,ENTITYBUILDER>> allColumns()
static <ENTITY,ENTITYBUILDER,P,PB> List<Column<ENTITY,ENTITYBUILDER>> dataColumnsWithParent(List<Column<ENTITY,ENTITYBUILDER>> dataColumns, ParentColumn<ENTITY,P,ENTITYBUILDER,PB> parentColumn, boolean hasParent)
default List<Column<ENTITY,ENTITYBUILDER>> dataColumnsWithParent()
default ColumnSelection<ENTITY,ENTITYBUILDER> select(String... columnNames)
Copyright © 2019. All rights reserved.