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.setSqlTypeName(String sqlTypeName)
Set the SQL type for the most recently added column.
|
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.
|
<T,U> IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withConvertedGenericColumn(String columnName,
Function<ENTITY,U> getter,
BiConsumer<BUILDER,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> 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. |
<T> IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withGenericColumn(String columnName,
Function<ENTITY,T> getter,
BiConsumer<BUILDER,T> setter,
GenericColumn<T> genericColumn)
Describes a data element of type
T that can be stored in
a GenericColumn . |
IndirectKeylessDaoBuilder<ENTITY,BUILDER> |
IndirectKeylessDaoBuilder.withInstantColumn(String columnName,
Function<ENTITY,Instant> getter,
BiConsumer<BUILDER,Instant> setter)
Describes a data element that represents a time stamp.
|
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.
|
<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.withLongColumn(String columnName,
Function<ENTITY,Long> getter,
BiConsumer<BUILDER,Long> setter)
Describes a numeric data element with no decimal or fractional part.
|
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.