Modifier and Type | Interface and Description |
---|---|
interface |
DaoDescriptor<ENTITY,ENTITYBUILDER>
Implementers of this interface completely describe all the information
necessary to persisting objects of type
ENTITY . |
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 |
IndirectKeylessDaoBuilder<ENTITY,BUILDER>
An
IndirectKeylessDaoBuilder provides mechanisms for defining the relationship between
a Java type and the table that backs it. |
class |
KeylessDaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER>
The
KeylessDao implementation. |
class |
RelativeDaoDescriptor<ENTITY,PARENT,ENTITYBUILDER>
An implementation of a
DaoDescriptor that has its
prefixes shifted. |
Modifier and Type | Method and Description |
---|---|
static List<String> |
KeylessValidator.findErrors(Connection connection,
KeylessDaoDescriptor daoDescriptor) |
static KeylessDaoImpl |
KeylessDaoImpl.forKeylessDescriptors(Connection connection,
KeylessDaoDescriptor daoDescriptor) |
static void |
KeylessValidator.validate(Connection connection,
KeylessDaoDescriptor daoDescriptor)
Calling this method will attempt to check to make sure that certain basics of the
Dao definition correctly match the database schema. |
Constructor and Description |
---|
KeylessDaoImpl(Connection connection,
KeylessDaoDescriptor<ENTITY,BUILDER> daoDescriptor,
List<ChildrenDescriptor<ENTITY,?,BUILDER,?>> childrenDescriptors) |
KeylessSqlBuilder(KeylessDaoDescriptor<ENTITY,?> daoDescriptor) |
Schema(KeylessDaoDescriptor... descriptors)
Construct an instance.
|
SqlRunner(Connection connection,
KeylessDaoDescriptor<ENTITY,BUILDER> daoDescriptor) |
Copyright © 2019. All rights reserved.