Modifier and Type | Class and Description |
---|---|
class |
DaoBuilder<T>
A DaoBuilder provides mechanisms for describing the relationship between
a Java type and the table(s) that will persist the data held in the class.
|
class |
DaoImpl<T>
The
Dao implementation. |
Modifier and Type | Method and Description |
---|---|
<U> DaoBuilder<T> |
DaoBuilder.withChildren(String parentChildColumnName,
BiConsumer<U,Long> parentSetter,
Function<T,List<U>> getter,
BiConsumer<T,List<U>> setter,
DaoDescriptor<U> daoDescriptor)
Describes a relationship between the object
T and its several
child objects of type U . |
<U> DaoBuilder<T> |
DaoBuilder.withJoinColumn(String columnName,
Function<T,U> getter,
BiConsumer<T,U> setter,
DaoDescriptor<U> daoDescriptor)
Describes a data element that is represented by an
Object of some
other type U with its own table for persistence. |
Constructor and Description |
---|
ChildrenDescriptor(String parentChildColumnName,
BiConsumer<CHILD,Long> parentSetter,
Function<PARENT,List<CHILD>> getter,
BiConsumer<PARENT,List<CHILD>> setter,
DaoDescriptor<CHILD> daoDescriptor,
PrimaryKey<PARENT> primaryKey) |
JoinColumn(String name,
String joinedTablePrefix,
Prefixer prefixer,
Function<T,J> getter,
BiConsumer<T,J> setter,
DaoDescriptor<J> daoDescriptor) |
Copyright © 2018. All rights reserved.