return FOMHelper.getCategories(this, scheme);
}
private List<Category> copyCategoriesWithScheme(List<Category> cats) {
List<Category> newcats = new ArrayList<Category>();
IRI scheme = getScheme();
for (Category cat : cats) {
Category newcat = (Category)cat.clone();
if (newcat.getScheme() == null && scheme != null)
newcat.setScheme(scheme.toString());
newcats.add(newcat);
}
return newcats;
}