qh = sQuery.getHierarchy(hierarchyName);
first = false;
}
if (sel.getSelectionContext() != null) {
throw new SaikuIncompatibleException("Cannot convert queries with selection context");
}
if (sel.getRootElement() instanceof Member) {
if (sel.getOperator().equals(Operator.MEMBER)) {
qh.includeMember(sel.getRootElement().getUniqueName());
} else {
throw new SaikuIncompatibleException("Cannot convert member selection using operator: " + sel.getOperator());
}
} else {
qh.includeLevel(sel.getRootElement().getName());
}
}