public abstract class OWLObjectImpl extends Object implements OWLObject, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static Set<OWLAnnotation> |
NO_ANNOTATIONS
a convenience reference for an empty annotation set, saves on typing.
|
protected static OWLClass |
OWL_THING |
| Constructor and Description |
|---|
OWLObjectImpl()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected static int |
compareLists(List<? extends OWLObject> list1,
List<? extends OWLObject> list2) |
protected abstract int |
compareObjectOfSameType(OWLObject object) |
protected static int |
compareSets(Set<? extends OWLObject> set1,
Set<? extends OWLObject> set2) |
int |
compareTo(OWLObject o) |
boolean |
containsEntityInSignature(OWLEntity owlEntity)
Determines if the signature of this object contains the specified entity.
|
boolean |
equals(Object obj) |
Set<OWLAnonymousIndividual> |
getAnonymousIndividuals()
Gets the anonymous individuals occurring in this object, as collected by
an OWLEntityCollector.
|
Set<OWLClass> |
getClassesInSignature()
A convenience method that obtains the classes that are in the signature
of this object
|
Set<OWLDataProperty> |
getDataPropertiesInSignature()
A convenience method that obtains the data properties that are in the
signature of this object
|
Set<OWLDatatype> |
getDatatypesInSignature()
A convenience method that obtains the datatypes that are in the signature
of this object
|
Set<OWLNamedIndividual> |
getIndividualsInSignature()
A convenience method that obtains the individuals that are in the
signature of this object
|
Set<OWLClassExpression> |
getNestedClassExpressions()
Gets all of the nested (includes top level) class expressions that are
used in this object
|
Set<OWLObjectProperty> |
getObjectPropertiesInSignature()
A convenience method that obtains the object properties that are in the
signature of this object
|
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).
|
String |
toString() |
protected static final Set<OWLAnnotation> NO_ANNOTATIONS
protected static final OWLClass OWL_THING
public Set<OWLEntity> getSignature()
OWLObjectgetSignature in interface HasSignaturegetSignature in interface OWLObjectpublic boolean containsEntityInSignature(OWLEntity owlEntity)
HasContainsEntityInSignaturecontainsEntityInSignature in interface HasContainsEntityInSignatureowlEntity - The entitytrue if the signature of this object contains
owlEntity, otherwise falsepublic Set<OWLAnonymousIndividual> getAnonymousIndividuals()
OWLObjectgetAnonymousIndividuals in interface HasAnonymousIndividualsgetAnonymousIndividuals in interface OWLObjectpublic Set<OWLClass> getClassesInSignature()
OWLObjectgetClassesInSignature in interface HasClassesInSignaturegetClassesInSignature in interface OWLObjectpublic Set<OWLDataProperty> getDataPropertiesInSignature()
OWLObjectgetDataPropertiesInSignature in interface HasDataPropertiesInSignaturegetDataPropertiesInSignature in interface OWLObjectpublic Set<OWLObjectProperty> getObjectPropertiesInSignature()
OWLObjectgetObjectPropertiesInSignature in interface HasObjectPropertiesInSignaturegetObjectPropertiesInSignature in interface OWLObjectpublic Set<OWLNamedIndividual> getIndividualsInSignature()
OWLObjectgetIndividualsInSignature in interface HasIndividualsInSignaturegetIndividualsInSignature in interface OWLObjectpublic Set<OWLDatatype> getDatatypesInSignature()
OWLObjectgetDatatypesInSignature in interface HasDatatypesInSignaturegetDatatypesInSignature in interface OWLObjectpublic Set<OWLClassExpression> getNestedClassExpressions()
OWLObjectgetNestedClassExpressions in interface OWLObjectOWLClassExpressions
that represent the nested class expressions used in this object.public int compareTo(OWLObject o)
compareTo in interface Comparable<OWLObject>protected abstract int compareObjectOfSameType(OWLObject object)
public boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjecttrue if this object corresponds to one of the above
entities.public boolean isBottomEntity()
OWLObjectisBottomEntity in interface OWLObjecttrue if this object corresponds to one of the above
entities.protected static int compareSets(Set<? extends OWLObject> set1, Set<? extends OWLObject> set2)
Copyright © 2014 The University of Manchester. All Rights Reserved.