| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
KeyedDaoDescriptor<ENTITY,ENTITYBUILDER>
Implementers of this interface completely describe all the information
 necessary to persisting objects of type  
ENTITY. | 
| Modifier and Type | Class and Description | 
|---|---|
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 List<String> | 
Validator.findErrors(Connection connection,
          DaoDescriptor daoDescriptor)  | 
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. | 
<U,UB> IndirectKeylessDaoBuilder<ENTITY,BUILDER> | 
IndirectKeylessDaoBuilder.withChildren(Function<ENTITY,List<U>> getter,
            BiConsumer<BUILDER,List<U>> setter,
            DaoDescriptor<U,UB> daoDescriptor)
Describes a relationship between the object  
ENTITY and its several
 child objects of type U. | 
<U,UB> DaoBuilder<ENTITY> | 
DaoBuilder.withChildren(Function<ENTITY,List<U>> getter,
            BiConsumer<ENTITY,List<U>> setter,
            DaoDescriptor<U,UB> daoDescriptor)
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. | 
| Constructor and Description | 
|---|
ChildrenDescriptor(Function<PARENT,List<CHILD>> getter,
                  BiConsumer<PARENTBUILDER,List<CHILD>> setter,
                  DaoDescriptor<CHILD,CHILDBUILDER> childDaoDescriptor,
                  PrimaryKey<PARENT,PARENTBUILDER> parentPrimaryKey,
                  Function<PARENTBUILDER,PARENT> parentBuildFunction)  | 
DaoImpl(Connection connection,
       DaoDescriptor<ENTITY,BUILDER> daoDescriptor)  | 
JoinColumn(String name,
          String joinedTablePrefix,
          Prefixer prefixer,
          Function<ENTITY,JOINED> getter,
          BiConsumer<ENTITYBUILDER,JOINED> setter,
          DaoDescriptor<JOINED,JOINEDBUILDER> daoDescriptor,
          boolean nullable)  | 
KeylessDaoImpl(Connection connection,
              DaoDescriptor<ENTITY,BUILDER> daoDescriptor)  | 
KeylessSqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor)  | 
RelativeDaoDescriptor(DaoDescriptor<ENTITY,ENTITYBUILDER> originalDaoDescriptor,
                     String newPrefix,
                     Prefixer prefixer)  | 
SqlBuilder(DaoDescriptor<ENTITY,?> daoDescriptor)  | 
Copyright © 2019. All rights reserved.