Modifier and Type | Interface and Description |
---|---|
interface |
SchemaDescriptor<ENTITY,BUILDER>
Defines a class that can be used to build a richer schema than a
DaoDescriptor or KeylessDaoDescriptor . |
Modifier and Type | Class and Description |
---|---|
class |
AssociationDaoBuilder<LEFT,RIGHT>
A mechanism for building an
AssociationDao . |
class |
DaoBuilder<ENTITY>
A DaoBuilder provides mechanisms for defining the relationship between
a Java type and the table(s) that will persist the data held in the class.
|
class |
DaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER>
The
Dao implementation. |
class |
IndirectDaoBuilder<ENTITY,BUILDER>
An
IndirectDaoBuilder is used for times when the class representing
the persisted entity is immutable. |
class |
RelativeDaoDescriptor<ENTITY,PARENT,ENTITYBUILDER>
An implementation of a
DaoDescriptor that has its
prefixes shifted. |
Modifier and Type | Method and Description |
---|---|
static void |
Validator.validate(Connection connection,
DaoDescriptor daoDescriptor)
Calling this method will attempt to check to make sure that certain basics of the
Dao definition correctly match the database schema. |
<CHILD,CHILDBUILDER> |
IndirectDaoBuilder.withChildren(Function<ENTITY,List<CHILD>> getter,
BiConsumer<BUILDER,List<CHILD>> setter,
DaoDescriptor<CHILD,CHILDBUILDER> childDaoDescriptor)
Describes a relationship between the object
ENTITY and its several
child objects of type U . |
<CHILD,CHILDBUILDER> |
DaoBuilder.withChildren(Function<ENTITY,List<CHILD>> getter,
BiConsumer<ENTITY,List<CHILD>> setter,
DaoDescriptor<CHILD,CHILDBUILDER> childDaoDescriptor)
Describes a relationship between the object
ENTITY and its several
child objects of type U . |
<U> IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withJoinColumn(String columnName,
Function<ENTITY,U> getter,
BiConsumer<BUILDER,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. |
<U> IndirectDaoBuilder<ENTITY,BUILDER> |
IndirectDaoBuilder.withJoinColumn(String columnName,
Function<ENTITY,U> getter,
BiConsumer<BUILDER,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. |
<U> DaoBuilder<ENTITY> |
DaoBuilder.withJoinColumn(String columnName,
Function<ENTITY,U> getter,
BiConsumer<ENTITY,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. |
Copyright © 2019. All rights reserved.