public class DefaultFormatConverter<T> extends AbstractFormatConverter<T>
FIELDS_TO_SKIP, VF_IS_NULL| Constructor and Description |
|---|
DefaultFormatConverter(java.lang.Class valueClass,
TableFormat format) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstructorField(java.lang.String field) |
T |
convertToBean(java.lang.Object value,
T originalValue) |
java.lang.Object |
convertToTable(T value,
TableFormat format) |
FieldFormat |
createFieldFormat(java.lang.String name) |
T |
instantiate(DataRecord source) |
addFiledToNullableFormat, clone, convertToTable, deriveNullable, getFormat, getValueClass, removeFiledFromNullableFormat, setValueClass, simpleToTablepublic DefaultFormatConverter(java.lang.Class valueClass,
TableFormat format)
public java.lang.Object convertToTable(T value, TableFormat format)
public FieldFormat createFieldFormat(java.lang.String name)
createFieldFormat in interface FormatConverter<T>createFieldFormat in class AbstractFormatConverter<T>public void addConstructorField(java.lang.String field)
public T instantiate(DataRecord source) throws java.lang.InstantiationException
instantiate in interface FormatConverter<T>instantiate in class AbstractFormatConverter<T>java.lang.InstantiationException