uk.ac.manchester.cs.owl.owlapi
Class OWLImportsDeclarationImpl
java.lang.Object
uk.ac.manchester.cs.owl.owlapi.OWLImportsDeclarationImpl
- All Implemented Interfaces:
- java.lang.Comparable<OWLImportsDeclaration>, OWLImportsDeclaration
public class OWLImportsDeclarationImpl
- extends java.lang.Object
- implements OWLImportsDeclaration
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OWLImportsDeclarationImpl
public OWLImportsDeclarationImpl(OWLDataFactory dataFactory,
IRI iri)
isLogicalAxiom
public boolean isLogicalAxiom()
getIRI
public IRI getIRI()
- Description copied from interface:
OWLImportsDeclaration
- Gets the import IRI
- Specified by:
getIRI
in interface OWLImportsDeclaration
- 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
public java.net.URI getURI()
- Description copied from interface:
OWLImportsDeclaration
- A convenience method to obtain the import IRI as a URI
- Specified by:
getURI
in interface OWLImportsDeclaration
- Returns:
- The import IRI as a URI
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(OWLImportsDeclaration o)
- Specified by:
compareTo
in interface java.lang.Comparable<OWLImportsDeclaration>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object