/** * Gets the main extras categories. This actually returns the direct named subclasses of the * Extras class. * * @return A <code>Collection</code> of <code>OWLNamedClasses</code> */ public Collection getCoffeeExtrasCategories() throws OWLReasonerException { OWLClass extrasCls = this.getNamedClass(PREFERENCES.getExtrasClassName()); return extrasCls.getSubClasses(ontology); }