public class Plate extends HashMap<String,Map<String,Object>> implements JsonMapHierarchicalHandler, DaobabDto, ColumnsProvider
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Plate() |
Plate(List<TableColumn> fields) |
Plate(List<TableColumn> fields,
Object[] rowResults) |
| Modifier and Type | Method and Description |
|---|---|
List<TableColumn> |
columns() |
<E extends Entity> |
getEntity(Class<E> entityClass) |
<E extends Entity> |
getEntity(E entity) |
<F> F |
getValue(Column<?,F,?> df) |
<F> F |
getValue(String fieldName) |
<F> F |
getValueIgnoreEntity(Column<?,F,?> df) |
<F> void |
setValue(Column c,
F val) |
<F> void |
setValue(TableColumn c,
F val) |
<E extends EntityMap> |
toEntity(Class<E> targetTypeClass,
List<TableColumn> columns) |
FlatPlate |
toFlat() |
<M extends FlatPlate> |
toFlatPlate(M flatProjection) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waittoJSONtoJSONclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic Plate()
public Plate(List<TableColumn> fields, Object[] rowResults)
public Plate(List<TableColumn> fields)
public List<TableColumn> columns()
columns in interface ColumnsProviderpublic <F> F getValue(Column<?,F,?> df)
public <F> F getValueIgnoreEntity(Column<?,F,?> df)
public <F> F getValue(String fieldName)
public <E extends Entity> E getEntity(E entity)
public <F> void setValue(TableColumn c, F val)
public <F> void setValue(Column c, F val)
public FlatPlate toFlat()
public <E extends EntityMap> E toEntity(Class<E> targetTypeClass, List<TableColumn> columns)
public <M extends FlatPlate> M toFlatPlate(M flatProjection)
Copyright © 2021. All rights reserved.