Class NodeData

    • Constructor Detail

      • NodeData

        public NodeData​(DataSet origin)
        Generic contstructor using the source DataSet.
        Parameters:
        origin - The DataSet containing this Data entry.
    • Method Detail

      • getLabel

        public String getLabel()
        Get the label of this NodeData (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
      • getDataSet

        public DataSet getDataSet()
        Get the originating DataSet this NodeData belongs to.
        Returns:
        the DataSet this NodeData originated from.
      • setLabel

        public void setLabel​(String id)
        Set the Label of this NodeData
        Parameters:
        id - The Label to assign to this NodeData
      • setID

        public void setID​(String id)
        Set the ID of this NodeData
        Parameters:
        id - The ID to assign to this NodeData
      • 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.