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 <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> |
localDateTimeColumn(String name,
String prefix,
Function<ENTITY,LocalDateTime> getter,
BiConsumer<BUILDER,LocalDateTime> setter,
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<LocalDateTime,ENTITY,BUILDER> localDateTimeColumn(String name, String prefix, Function<ENTITY,LocalDateTime> getter, BiConsumer<BUILDER,LocalDateTime> 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)
Copyright © 2019. All rights reserved.