public interface MapData
| Modifier and Type | Method and Description |
|---|---|
void |
addChildrenData(MapData data)
Add a child data.
|
List<MapData> |
getChildrenData()
Get the children aggregated data if any.
|
String |
getName()
Get the data name.
|
double |
getValue()
Get the data value.
|
boolean |
hasChildrenData()
If the data is an aggregation of children data.
|
void |
removeChildrenData(MapData data)
Remove a child data.
|
void |
setName(String newName)
Set the data name.
|
void |
setValue(double newValue)
Set the data value.
|
double getValue()
void setValue(double newValue)
newValue - the new data valueString getName()
void setName(String newName)
newName - the new data nameboolean hasChildrenData()
List<MapData> getChildrenData()
void addChildrenData(MapData data)
data - the data to be added as a child data to aggregatevoid removeChildrenData(MapData data)
data - the data to be removedCopyright © 2017 H-K. All rights reserved.