I
- Type of the Row keyC
- Type of the Column Namespublic class DynamicStorable<I extends Serializable,C> extends Object implements Storable<I>
Constructor and Description |
---|
DynamicStorable(I id,
LinkedHashMap<C,Object> map)
Constructor for DynamicStorable.
|
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<C,Object> |
getData()
Returns the column data as map.
|
I |
getId()
Returns id of row key
|
void |
setData(LinkedHashMap<C,Object> map)
Sets column data.
|
void |
setId(I id)
Sets id of Row key.
|
public DynamicStorable(I id, LinkedHashMap<C,Object> map)
id
- Imap
- LinkedHashMappublic I getId()
getId
in interface Storable<I extends Serializable>
Storable.getId()
public LinkedHashMap<C,Object> getData()
public void setId(I id)
id
- Ipublic void setData(LinkedHashMap<C,Object> map)
map
- LinkedHashMapCopyright © 2016. All Rights Reserved.