@Override public IDataset getDataset() { if (dataset == null) { IGroup root = getRootGroup(); if (root == null) { return null; } else { return root.getDataset(); } } else { return dataset; } }
@Override public IGroup createGroup(IGroup parent, String shortName) { ArchivingGroup group = null; if ((shortName != null) && !shortName.isEmpty()) { if (parent != null) { if (parent instanceof ArchivingGroup) { group = new ArchivingGroup( NAME, (ArchivingDataset) parent.getDataset(), (ArchivingGroup) parent, shortName); } } else { group = new ArchivingGroup(NAME, null, null, shortName); } } return group; }