org.semanticweb.owlapi.model
Interface OWLImportsDeclaration

All Superinterfaces:
java.lang.Comparable<OWLImportsDeclaration>
All Known Implementing Classes:
OWLImportsDeclarationImpl

public interface OWLImportsDeclaration
extends java.lang.Comparable<OWLImportsDeclaration>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 25-Oct-2006

Represents an import statement in an ontology.


Method Summary
 IRI getIRI()
          Gets the import IRI
 java.net.URI getURI()
          A convenience method to obtain the import IRI as a URI
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getIRI

IRI getIRI()
Gets the import IRI

Returns:
The import IRI that points to the ontology to be imported. The imported ontology should have this IRI as its IRI (although this isn't enforced).

getURI

java.net.URI getURI()
A convenience method to obtain the import IRI as a URI

Returns:
The import IRI as a URI