code: public void addTerm(OntologyTerm term) {
          terms.put(term.getId(), term);
          indexTerm(term);
          isTypeOfIsBuilt = false;
      }
docs: Add a single OntologyTerm to the ontology.
  
  @param term
  The OntologyTerm.