ENTITY - The type represented by this descriptorPARENT - The type of the parent of type ENTITY, if there is oneENTITYBUILDER - The type that can build a ENTITYpublic class RelativeDaoDescriptor<ENTITY,PARENT,ENTITYBUILDER> extends Object implements DaoDescriptor<ENTITY,ENTITYBUILDER>
DaoDescriptor that has its
prefixes shifted. Used when two or more tables are joined.
Most users of hrorm will have no need to directly use this.
| Constructor and Description |
|---|
RelativeDaoDescriptor(DaoDescriptor<ENTITY,ENTITYBUILDER> originalDaoDescriptor,
String newPrefix,
Prefixer prefixer) |
| Modifier and Type | Method and Description |
|---|---|
Function<ENTITYBUILDER,ENTITY> |
buildFunction()
The mechanism for building a new entity instance.
|
List<ChildrenDescriptor<ENTITY,?,ENTITYBUILDER,?>> |
childrenDescriptors()
The definitions of any entities that are owned by type
ENTITY |
ChildSelectStrategy |
childSelectStrategy() |
ColumnCollection<ENTITY,ENTITYBUILDER> |
getColumnCollection() |
ParentColumn<ENTITY,?,ENTITYBUILDER,?> |
parentColumn()
The parent column, if there is one, of the
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasParent, parentColumnName, primaryKey, validateConsistencyOfJoinedSelectStrategiesallColumns, dataColumns, joinColumns, joinedSelectStrategies, nonJoinColumns, selectpublic RelativeDaoDescriptor(DaoDescriptor<ENTITY,ENTITYBUILDER> originalDaoDescriptor, String newPrefix, Prefixer prefixer)
public String tableName()
KeylessDaoDescriptorENTITYtableName in interface KeylessDaoDescriptor<ENTITY,ENTITYBUILDER>public Supplier<ENTITYBUILDER> supplier()
KeylessDaoDescriptorENTITY,
generally a no-argument constructor of the class.supplier in interface KeylessDaoDescriptor<ENTITY,ENTITYBUILDER>public ColumnCollection<ENTITY,ENTITYBUILDER> getColumnCollection()
getColumnCollection in interface KeylessDaoDescriptor<ENTITY,ENTITYBUILDER>public List<ChildrenDescriptor<ENTITY,?,ENTITYBUILDER,?>> childrenDescriptors()
DaoDescriptorENTITYchildrenDescriptors in interface DaoDescriptor<ENTITY,ENTITYBUILDER>public ParentColumn<ENTITY,?,ENTITYBUILDER,?> parentColumn()
DaoDescriptorENTITY.parentColumn in interface DaoDescriptor<ENTITY,ENTITYBUILDER>public Function<ENTITYBUILDER,ENTITY> buildFunction()
KeylessDaoDescriptorbuildFunction in interface KeylessDaoDescriptor<ENTITY,ENTITYBUILDER>public ChildSelectStrategy childSelectStrategy()
childSelectStrategy in interface DaoDescriptor<ENTITY,ENTITYBUILDER>Copyright © 2019. All rights reserved.