ENTITY
- The type representing the enitity being persisted.ENTITYBUILDER
- The type of object that can build an ENTITY
instance.public interface DaoDescriptor<ENTITY,ENTITYBUILDER>
ENTITY
.
Most users of hrorm will have no need to directly use this.
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 |
default SortedMap<String,Column<ENTITY,ENTITYBUILDER>> |
columnMap(String... columnNames) |
List<Column<ENTITY,ENTITYBUILDER>> |
dataColumns()
The columns that contain the data that make up the object
|
default List<Column<ENTITY,ENTITYBUILDER>> |
dataColumnsWithParent() |
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() |
PrimaryKey<ENTITY,ENTITYBUILDER> |
primaryKey()
The primary key for objects of type
ENTITY |
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()
PrimaryKey<ENTITY,ENTITYBUILDER> primaryKey()
ENTITY
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()
default List<Column<ENTITY,ENTITYBUILDER>> dataColumnsWithParent()
Copyright © 2018. All rights reserved.