|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
public abstract class OWLObjectImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Oct-2006
Constructor Summary | |
---|---|
OWLObjectImpl(OWLDataFactory dataFactory)
|
Method Summary | |
---|---|
protected abstract int |
compareObjectOfSameType(OWLObject object)
|
protected static int |
compareSets(java.util.Set<? extends OWLObject> set1,
java.util.Set<? extends OWLObject> set2)
|
int |
compareTo(OWLObject o)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Set<OWLClass> |
getClassesInSignature()
A convenience method that obtains the classes that are in the signature of this object |
java.util.Set<OWLDataProperty> |
getDataPropertiesInSignature()
A convenience method that obtains the data properties that are in the signature of this object |
java.util.Set<OWLDatatype> |
getDatatypesInSignature()
A convenience method that obtains the datatypes that are in the signature of this object |
java.util.Set<OWLNamedIndividual> |
getIndividualsInSignature()
A convenience method that obtains the individuals that are in the signature of this object |
java.util.Set<OWLClassExpression> |
getNestedClassExpressions()
Gets all of the nested (includes top level) class expressions that are used in this object |
java.util.Set<OWLObjectProperty> |
getObjectPropertiesInSignature()
A convenience method that obtains the object properties that are in the signature of this object |
OWLDataFactory |
getOWLDataFactory()
|
java.util.Set<OWLEntity> |
getSignature()
Gets the signature of this object |
int |
hashCode()
|
boolean |
isBottomEntity()
Determines if this object is either, owl:Nothing (the bottom class), owl:bottomObjectProperty (the bottom object property) , owl:bottomDataProperty (the bottom data property). |
boolean |
isTopEntity()
Determines if this object is either, owl:Thing (the top class), owl:topObjectProperty (the top object property) , owl:topDataProperty (the top data property) or rdfs:Literal (the top datatype). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
---|
accept, accept |
Constructor Detail |
---|
public OWLObjectImpl(OWLDataFactory dataFactory)
Method Detail |
---|
public OWLDataFactory getOWLDataFactory()
public java.util.Set<OWLEntity> getSignature()
OWLObject
getSignature
in interface OWLObject
public java.util.Set<OWLClass> getClassesInSignature()
OWLObject
getClassesInSignature
in interface OWLObject
public java.util.Set<OWLDataProperty> getDataPropertiesInSignature()
OWLObject
getDataPropertiesInSignature
in interface OWLObject
public java.util.Set<OWLObjectProperty> getObjectPropertiesInSignature()
OWLObject
getObjectPropertiesInSignature
in interface OWLObject
public java.util.Set<OWLNamedIndividual> getIndividualsInSignature()
OWLObject
getIndividualsInSignature
in interface OWLObject
public java.util.Set<OWLDatatype> getDatatypesInSignature()
getDatatypesInSignature
in interface OWLObject
public java.util.Set<OWLClassExpression> getNestedClassExpressions()
OWLObject
getNestedClassExpressions
in interface OWLObject
OWLClassExpression
s that represent the nested class
expressions used in this object.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public final int compareTo(OWLObject o)
compareTo
in interface java.lang.Comparable<OWLObject>
protected abstract int compareObjectOfSameType(OWLObject object)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isTopEntity()
OWLObject
isTopEntity
in interface OWLObject
true
if this object corresponds to one of the above entities.public boolean isBottomEntity()
OWLObject
isBottomEntity
in interface OWLObject
true
if this object corresponds to one of the above entities.protected static int compareSets(java.util.Set<? extends OWLObject> set1, java.util.Set<? extends OWLObject> set2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |