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()
The mechanism for building a new entity instance.
|
default List<Column<?,?,ENTITY,ENTITYBUILDER>> |
dataColumns()
The columns that contain the data that make up the object
|
ColumnCollection<ENTITY,ENTITYBUILDER> |
getColumnCollection() |
default List<JoinColumn<ENTITY,?,ENTITYBUILDER,?>> |
joinColumns()
The columns that contain references to foreign keys to other objects
|
default Map<String,ChildSelectStrategy> |
joinedSelectStrategies()
The child select strategies used by any joined
DAO
objects, keyed by their table names. |
default List<Column<?,?,ENTITY,ENTITYBUILDER>> |
nonJoinColumns()
All the columns in the DAO, except those that represent joins
to other entities, including primary key and parent column.
|
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.Function<ENTITYBUILDER,ENTITY> buildFunction()
default ColumnSelection<ENTITY,ENTITYBUILDER> select(String... columnNames)
ColumnCollection<ENTITY,ENTITYBUILDER> getColumnCollection()
default List<Column<?,?,ENTITY,ENTITYBUILDER>> nonJoinColumns()
default List<Column<?,?,ENTITY,ENTITYBUILDER>> dataColumns()
default List<Column<?,?,ENTITY,ENTITYBUILDER>> allColumns()
default List<JoinColumn<ENTITY,?,ENTITYBUILDER,?>> joinColumns()
default Map<String,ChildSelectStrategy> joinedSelectStrategies()
DAO
objects, keyed by their table names.Copyright © 2019. All rights reserved.