public abstract class NodeData extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
label |
protected DataSet |
parent |
Constructor and Description |
---|
NodeData(DataSet origin)
Generic contstructor using the source DataSet.
|
Modifier and Type | Method and Description |
---|---|
DataSet |
getDataSet()
|
String |
getID()
Get the ID of this nodeData.
|
String |
getLabel()
Get the label of this
NodeData (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 this
NodeData |
void |
setLabel(String id)
Set the Label of this
NodeData |
public String getLabel()
NodeData
(which can be used for display purposes.NodeData
public String getID()
public void setLabel(String id)
NodeData
id
- The Label to assign to this NodeData
public void setID(String id)
NodeData
id
- The ID to assign to this NodeData
public abstract boolean isempty()
Copyright © 2018. All rights reserved.