Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.owl.model.util
Class ImportUtil

    java.lang.Object
      edu.stanford.smi.protegex.owl.model.util.ImportUtil

    public class ImportUtil

extends Object

Constructor Summary
`ImportUtil()`

Method Summary
`static OWLOntology` | `calculateTopLevelOntology(OWLModel owlModel)` This is a utility method that calculates the top level ontology from an owlModel.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImportUtil

    public ImportUtil()

Method Detail

### calculateTopLevelOntology

    public static OWLOntology calculateTopLevelOntology(OWLModel owlModel)

  This is a utility method that calculates the top level ontology from an owlModel. This method is aware of the cycles in the import hierarchy and tries to come up with the best answer.

  Parameters:
    `owlModel` - - the OWL model on which the top level ontology will be computed
  Returns:
    - the top level ontology - if no cycles are detected; - null - if there are more than one top level ontologies - if a top level cycle is found, it returns one of the ontologies in the top level cycle

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Copyright (c) 1998-2012 Stanford University.