| Modifier and Type | Method and Description | 
|---|---|
DaoBuilder<ENTITY> | 
DaoBuilder.notNull()
Sets the most recent column added to this DaoBuilder to prevent it allowing
 nulls on inserts or updates. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.setSqlTypeName(String sqlTypeName)
Set the SQL type for the most recently added column. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withBigDecimalColumn(String columnName,
                    Function<ENTITY,BigDecimal> getter,
                    BiConsumer<ENTITY,BigDecimal> setter)
Describes a numeric data element with a decimal part. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withBooleanColumn(String columnName,
                 Function<ENTITY,Boolean> getter,
                 BiConsumer<ENTITY,Boolean> setter)
Describes a data element that represents a true/false value. 
 | 
<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. | 
<T,U> DaoBuilder<ENTITY> | 
DaoBuilder.withConvertedGenericColumn(String columnName,
                          Function<ENTITY,U> getter,
                          BiConsumer<ENTITY,U> setter,
                          GenericColumn<T> genericColumn,
                          Converter<U,T> converter)
Describes a data element of type  
U that can be stored in
 a GenericColumn that stores objects of type T. | 
<E> DaoBuilder<ENTITY> | 
DaoBuilder.withConvertingStringColumn(String columnName,
                          Function<ENTITY,E> getter,
                          BiConsumer<ENTITY,E> setter,
                          Converter<E,String> converter)
Describes a data element with a particular type (like an enumeration) that
 is persisted using a  
String representation. | 
<T> DaoBuilder<ENTITY> | 
DaoBuilder.withGenericColumn(String columnName,
                 Function<ENTITY,T> getter,
                 BiConsumer<ENTITY,T> setter,
                 GenericColumn<T> genericColumn)
Describes a data element of type  
T that can be stored in
 a GenericColumn. | 
DaoBuilder<ENTITY> | 
DaoBuilder.withInstantColumn(String columnName,
                 Function<ENTITY,Instant> getter,
                 BiConsumer<ENTITY,Instant> setter)
Describes a data element that represents a time stamp. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withIntegerBooleanColumn(String columnName,
                        Function<ENTITY,Boolean> getter,
                        BiConsumer<ENTITY,Boolean> setter)
Describes a data element that represents a true/false value
 and is backed by a column holding an integer value. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withIntegerColumn(String columnName,
                 Function<ENTITY,Long> getter,
                 BiConsumer<ENTITY,Long> setter)
Describes a numeric data element with no decimal or fractional part. 
 | 
<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. | 
DaoBuilder<ENTITY> | 
DaoBuilder.withParentColumn(String columnName)
Indicator that the column is a reference to an owning parent object. 
 | 
<P> DaoBuilder<ENTITY> | 
DaoBuilder.withParentColumn(String columnName,
                Function<ENTITY,P> getter,
                BiConsumer<ENTITY,P> setter)
Indicator that the column is a reference to an owning parent object. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withPrimaryKey(String columnName,
              String sequenceName,
              Function<ENTITY,Long> getter,
              BiConsumer<ENTITY,Long> setter)
Set data about the primary key of the table for this type. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withStringBooleanColumn(String columnName,
                       Function<ENTITY,Boolean> getter,
                       BiConsumer<ENTITY,Boolean> setter)
Describes a data element that represents a true/false value
 and is backed by a column holding a String value. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withStringColumn(String columnName,
                Function<ENTITY,String> getter,
                BiConsumer<ENTITY,String> setter)
Describes a text or string data element. 
 | 
DaoBuilder<ENTITY> | 
DaoBuilder.withUniqueConstraint(String... columnNames)
Describe a unique constraint on this entity. 
 | 
Copyright © 2019. All rights reserved.