Class NodeData
- java.lang.Object
-
- idare.imagenode.Interfaces.DataSets.NodeData
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArrayNodeData
,MultiArrayNodeData
public abstract class NodeData extends Object implements Serializable
A Data Entry will always only have numbers stored in it as it is used for data representation on color scales or in graphs.- Author:
- Thomas Pfau
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DataSet
getDataSet()
String
getID()
Get the ID of this nodeData.String
getLabel()
Get the label of thisNodeData
(which can be used for display purposes.abstract boolean
isempty()
Check whether this Data is empty (i.e.void
setID(String id)
Set the ID of thisNodeData
void
setLabel(String id)
Set the Label of thisNodeData
-
-
-
Method Detail
-
getLabel
public String getLabel()
Get the label of thisNodeData
(which can be used for display purposes.- Returns:
- the Label (commonly for visualisation purposes) of this
NodeData
-
getID
public String getID()
Get the ID of this nodeData.- Returns:
- the ID of this NdoeData
-
setLabel
public void setLabel(String id)
Set the Label of thisNodeData
- Parameters:
id
- The Label to assign to thisNodeData
-
setID
public void setID(String id)
Set the ID of thisNodeData
- Parameters:
id
- The ID to assign to thisNodeData
-
isempty
public abstract boolean isempty()
Check whether this Data is empty (i.e. has only null values)- Returns:
- true, if it is empty, or fals eif there are non zero values.
-
-