public String toString() { if (parent == null) // root group return currentDataset.getLocation(); else return group.getShortName(); }