if (!NamedConcept.TOP.equals(parentId)) { // Top is redundant
result.add(new NamedConcept(parentId));
}
}
// Look for Datatype concepts
final IntIterator ancestorItr = contextIndex.get(key).getS().iterator();
while (ancestorItr.hasNext()) {
int anc = ancestorItr.next();
if (factory.isVirtualConcept(anc)) {
Object c = factory.lookupConceptId(anc);
if (c instanceof au.csiro.snorocket.core.model.Datatype) {
addDatatype(result, (au.csiro.snorocket.core.model.Datatype) c);
}