OWLOntology ontology = manager
.createOntology(IRI
.create("http://www.semanticweb.org/owlapi/ontologies/ontology"));
// We can add a declaration axiom to the ontology, that essentially adds
// the class to the signature of our ontology.
OWLDeclarationAxiom declarationAxiom = factory
.getOWLDeclarationAxiom(clsAMethodA);
manager.addAxiom(ontology, declarationAxiom);
// Note that it isn't necessary to add declarations to an ontology in
// order to use an entity. For some ontology formats (e.g. the
// Manchester Syntax), declarations will automatically be added in the