Modifier and Type | Method and Description |
---|---|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.notNull()
Sets the most recent column added to this DaoBuilder to prevent it allowing
nulls on inserts or updates.
|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withBigDecimalColumn(String columnName,
Function<ENTITY,BigDecimal> getter,
BiConsumer<BUILDER,BigDecimal> setter)
Describes a numeric data element with a decimal part.
|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withBooleanColumn(String columnName,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter)
Describes a data element that represents a true/false value that is
backed by a SQL boolean column.
|
<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 . |
<E> IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withConvertingStringColumn(String columnName,
Function<ENTITY,E> getter,
BiConsumer<BUILDER,E> setter,
Converter<E,String> converter)
Describes a data element with a particular type (like an enumeration) that
is persisted using a
String representation. |
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withIntegerBooleanColumn(String columnName,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter)
Describes a data element that represents a true/false value
and is backed by a column holding an integer value.
|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withIntegerColumn(String columnName,
Function<ENTITY,Long> getter,
BiConsumer<BUILDER,Long> setter)
Describes a numeric data element with no decimal or fractional part.
|
<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. |
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withLocalDateTimeColumn(String columnName,
Function<ENTITY,LocalDateTime> getter,
BiConsumer<BUILDER,LocalDateTime> setter)
Describes a data element that represents a time stamp.
|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withParentColumn(String columnName)
Indicator that the column is a reference to an owning parent object.
|
<P> IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withParentColumn(String columnName,
Function<ENTITY,P> getter,
BiConsumer<BUILDER,P> setter)
Indicator that the column is a reference to an owning parent object.
|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withStringBooleanColumn(String columnName,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter)
Describes a data element that represents a true/false value
and is backed by a column holding a String value.
|
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withStringColumn(String columnName,
Function<ENTITY,String> getter,
BiConsumer<BUILDER,String> setter)
Describes a text or string data element.
|
Copyright © 2019. All rights reserved.