ENTITY
- The type representing the enitity being persisted.ENTITYBUILDER
- The type of object that can build an ENTITY
instance.public interface DaoDescriptor<ENTITY,ENTITYBUILDER> extends KeylessDaoDescriptor<ENTITY,ENTITYBUILDER>
ENTITY
.
Most users of hrorm will have no need to directly use this.
Modifier and Type | Method and Description |
---|---|
List<ChildrenDescriptor<ENTITY,?,ENTITYBUILDER,?>> |
childrenDescriptors()
The definitions of any entities that are owned by type
ENTITY |
ChildSelectStrategy |
childSelectStrategy() |
default boolean |
hasParent()
Indicator of whether or not this entity has a parent.
|
<P,PB> ParentColumn<ENTITY,P,ENTITYBUILDER,PB> |
parentColumn()
The parent column, if there is one, of the
ENTITY . |
default String |
parentColumnName() |
default PrimaryKey<ENTITY,ENTITYBUILDER> |
primaryKey()
The primary key for objects of type
ENTITY |
default void |
validateConsistencyOfJoinedSelectStrategies() |
allColumns, buildFunction, dataColumns, getColumnCollection, joinColumns, joinedSelectStrategies, nonJoinColumns, select, supplier, tableName
default PrimaryKey<ENTITY,ENTITYBUILDER> primaryKey()
ENTITY
<P,PB> ParentColumn<ENTITY,P,ENTITYBUILDER,PB> parentColumn()
ENTITY
.P
- The type of the parent entity.PB
- The type of the parent entity's builder class.default boolean hasParent()
List<ChildrenDescriptor<ENTITY,?,ENTITYBUILDER,?>> childrenDescriptors()
ENTITY
ChildSelectStrategy childSelectStrategy()
default String parentColumnName()
default void validateConsistencyOfJoinedSelectStrategies()
Copyright © 2019. All rights reserved.