uk.ac.manchester.cs.owl
Class OWLObjectImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLObject
Direct Known Subclasses:
OWLAnnotationImpl, OWLAnonymousDescriptionImpl, OWLAxiomImpl, OWLClassImpl, OWLConstantImpl, OWLDataComplementOfImpl, OWLDataOneOfImpl, OWLDataRangeFacetRestrictionImpl, OWLDataRangeRestrictionImpl, OWLDataTypeImpl, OWLIndividualImpl, OWLOntologyImpl, OWLPropertyExpressionImpl, SWRLAtomConstantObjectImpl, SWRLAtomImpl, SWRLAtomIndividualObjectImpl, SWRLVariableImpl

public abstract class OWLObjectImpl
extends java.lang.Object
implements OWLObject

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


Constructor Summary
OWLObjectImpl(OWLDataFactory dataFactory)
           
 
Method Summary
 int compareTo(OWLObject o)
           
 boolean equals(java.lang.Object obj)
           
 OWLDataFactory getOWLDataFactory()
           
 java.util.Set<OWLEntity> getSignature()
          Gets the signature of this object
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept
 

Constructor Detail

OWLObjectImpl

public OWLObjectImpl(OWLDataFactory dataFactory)
Method Detail

getOWLDataFactory

public OWLDataFactory getOWLDataFactory()

getSignature

public java.util.Set<OWLEntity> getSignature()
Description copied from interface: OWLObject
Gets the signature of this object

Specified by:
getSignature in interface OWLObject
Returns:
A set of entities that correspond to the signature of this object.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public final int compareTo(OWLObject o)
Specified by:
compareTo in interface java.lang.Comparable<OWLObject>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object