public class ConverterUtil extends Object
| Constructor and Description |
|---|
ConverterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addValueConverter(IValueConverter modifier) |
static <Destination> |
modifyValue(Object originalFieldValue,
Destination target,
Field originalField,
Field targetField) |
public static void addValueConverter(IValueConverter modifier)
modifier - add an special value modifierpublic static <Destination> Object modifyValue(Object originalFieldValue, Destination target, Field originalField, Field targetField)
Destination - the destination classoriginalFieldValue - the original field valuetarget - the target classoriginalField - the original fieldtargetField - the target fieldCopyright © 2016–2018 Taimos GmbH. All rights reserved.