uk.ac.manchester.cs.owl.owlapi
Class OWLImportsDeclarationImpl

java.lang.Object
  extended by 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


Constructor Summary
OWLImportsDeclarationImpl(OWLDataFactory dataFactory, IRI iri)
           
 
Method Summary
 int compareTo(OWLImportsDeclaration o)
           
 boolean equals(java.lang.Object obj)
           
 IRI getIRI()
          Gets the import IRI
 java.net.URI getURI()
          A convenience method to obtain the import IRI as a URI
 int hashCode()
           
 boolean isLogicalAxiom()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OWLImportsDeclarationImpl

public OWLImportsDeclarationImpl(OWLDataFactory dataFactory,
                                 IRI iri)
Method Detail

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