Modifier and Type | Class and Description |
---|---|
class |
BooleanLongConverter
This
Converter translates true values to 1 and false
values to 0. |
class |
BooleanStringConverter
This
Converter translates true values to "T" and false
values to "F". |
Modifier and Type | Method and Description |
---|---|
static <T,U,ENTITY,BUILDER> |
DataColumnFactory.convertedGenericColumn(String name,
String prefix,
Function<ENTITY,U> getter,
BiConsumer<BUILDER,U> setter,
GenericColumn<T> genericColumn,
Converter<U,T> converter,
boolean nullable) |
static <E,ENTITY,BUILDER> |
DataColumnFactory.integerConverterColumn(String name,
String prefix,
Function<ENTITY,E> getter,
BiConsumer<BUILDER,E> setter,
Converter<E,Long> converter,
boolean nullable) |
static <E,ENTITY,BUILDER> |
DataColumnFactory.stringConverterColumn(String name,
String prefix,
Function<ENTITY,E> getter,
BiConsumer<BUILDER,E> setter,
Converter<E,String> converter,
boolean nullable) |
<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 . |
<T,U> IndirectDaoBuilder<ENTITY,BUILDER> |
IndirectDaoBuilder.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 . |
<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> 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. |
<E> IndirectDaoBuilder<ENTITY,BUILDER> |
IndirectDaoBuilder.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. |
<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. |
Copyright © 2019. All rights reserved.