public class DataColumnFactory extends Object
Most users of hrorm will have no need to directly use this.
Constructor and Description |
---|
DataColumnFactory() |
Modifier and Type | Method and Description |
---|---|
static <ENTITY,BUILDER> |
bigDecimalColumn(String name,
String prefix,
Function<ENTITY,BigDecimal> getter,
BiConsumer<BUILDER,BigDecimal> setter,
boolean nullable) |
static <ENTITY,BUILDER> |
booleanColumn(String name,
String prefix,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter,
boolean nullable) |
static <T,U,ENTITY,BUILDER> |
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> |
genericColumn(String name,
String prefix,
Function<ENTITY,E> getter,
BiConsumer<BUILDER,E> setter,
GenericColumn<E> genericColumn,
boolean nullable) |
static <ENTITY,BUILDER> |
instantColumn(String name,
String prefix,
Function<ENTITY,Instant> getter,
BiConsumer<BUILDER,Instant> setter,
boolean nullable) |
static <E,ENTITY,BUILDER> |
integerConverterColumn(String name,
String prefix,
Function<ENTITY,E> getter,
BiConsumer<BUILDER,E> setter,
Converter<E,Long> converter,
boolean nullable) |
static <ENTITY,BUILDER> |
longColumn(String name,
String prefix,
Function<ENTITY,Long> getter,
BiConsumer<BUILDER,Long> setter,
boolean nullable) |
static <ENTITY,BUILDER> |
stringColumn(String name,
String prefix,
Function<ENTITY,String> getter,
BiConsumer<BUILDER,String> setter,
boolean nullable) |
static <E,ENTITY,BUILDER> |
stringConverterColumn(String name,
String prefix,
Function<ENTITY,E> getter,
BiConsumer<BUILDER,E> setter,
Converter<E,String> converter,
boolean nullable) |
static <ENTITY,BUILDER> |
textBackedBooleanColumn(String name,
String prefix,
Function<ENTITY,Boolean> getter,
BiConsumer<BUILDER,Boolean> setter,
boolean nullable) |
public static <ENTITY,BUILDER> AbstractColumn<BigDecimal,ENTITY,BUILDER> bigDecimalColumn(String name, String prefix, Function<ENTITY,BigDecimal> getter, BiConsumer<BUILDER,BigDecimal> setter, boolean nullable)
public static <ENTITY,BUILDER> AbstractColumn<Long,ENTITY,BUILDER> longColumn(String name, String prefix, Function<ENTITY,Long> getter, BiConsumer<BUILDER,Long> setter, boolean nullable)
public static <ENTITY,BUILDER> AbstractColumn<Boolean,ENTITY,BUILDER> booleanColumn(String name, String prefix, Function<ENTITY,Boolean> getter, BiConsumer<BUILDER,Boolean> setter, boolean nullable)
public static <ENTITY,BUILDER> AbstractColumn<Boolean,ENTITY,BUILDER> textBackedBooleanColumn(String name, String prefix, Function<ENTITY,Boolean> getter, BiConsumer<BUILDER,Boolean> setter, boolean nullable)
public static <ENTITY,BUILDER> AbstractColumn<String,ENTITY,BUILDER> stringColumn(String name, String prefix, Function<ENTITY,String> getter, BiConsumer<BUILDER,String> setter, boolean nullable)
public static <ENTITY,BUILDER> AbstractColumn<Instant,ENTITY,BUILDER> instantColumn(String name, String prefix, Function<ENTITY,Instant> getter, BiConsumer<BUILDER,Instant> setter, boolean nullable)
public static <E,ENTITY,BUILDER> AbstractColumn<E,ENTITY,BUILDER> stringConverterColumn(String name, String prefix, Function<ENTITY,E> getter, BiConsumer<BUILDER,E> setter, Converter<E,String> converter, boolean nullable)
public static <E,ENTITY,BUILDER> AbstractColumn<E,ENTITY,BUILDER> integerConverterColumn(String name, String prefix, Function<ENTITY,E> getter, BiConsumer<BUILDER,E> setter, Converter<E,Long> converter, boolean nullable)
public static <E,ENTITY,BUILDER> AbstractColumn<E,ENTITY,BUILDER> genericColumn(String name, String prefix, Function<ENTITY,E> getter, BiConsumer<BUILDER,E> setter, GenericColumn<E> genericColumn, boolean nullable)
public static <T,U,ENTITY,BUILDER> AbstractColumn<U,ENTITY,BUILDER> convertedGenericColumn(String name, String prefix, Function<ENTITY,U> getter, BiConsumer<BUILDER,U> setter, GenericColumn<T> genericColumn, Converter<U,T> converter, boolean nullable)
Copyright © 2019. All rights reserved.