public abstract class OWLObjectImpl extends Object implements OWLObject, Serializable
Constructor and Description |
---|
OWLObjectImpl()
default constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
public Set<OWLEntity> getSignature()
OWLObject
getSignature
in interface HasSignature
getSignature
in interface OWLObject
public boolean containsEntityInSignature(OWLEntity owlEntity)
HasContainsEntityInSignature
containsEntityInSignature
in interface HasContainsEntityInSignature
owlEntity
- The entitytrue
if the signature of this object contains
owlEntity
, otherwise false
public Set<OWLAnonymousIndividual> getAnonymousIndividuals()
OWLObject
getAnonymousIndividuals
in interface HasAnonymousIndividuals
getAnonymousIndividuals
in interface OWLObject
public Set<OWLClass> getClassesInSignature()
OWLObject
getClassesInSignature
in interface HasClassesInSignature
getClassesInSignature
in interface OWLObject
public Set<OWLDataProperty> getDataPropertiesInSignature()
OWLObject
getDataPropertiesInSignature
in interface HasDataPropertiesInSignature
getDataPropertiesInSignature
in interface OWLObject
public Set<OWLObjectProperty> getObjectPropertiesInSignature()
OWLObject
getObjectPropertiesInSignature
in interface HasObjectPropertiesInSignature
getObjectPropertiesInSignature
in interface OWLObject
public Set<OWLNamedIndividual> getIndividualsInSignature()
OWLObject
getIndividualsInSignature
in interface HasIndividualsInSignature
getIndividualsInSignature
in interface OWLObject
public Set<OWLDatatype> getDatatypesInSignature()
OWLObject
getDatatypesInSignature
in interface HasDatatypesInSignature
getDatatypesInSignature
in interface OWLObject
public Set<OWLClassExpression> getNestedClassExpressions()
OWLObject
getNestedClassExpressions
in interface OWLObject
OWLClassExpression
s
that represent the nested class expressions used in this object.public int compareTo(OWLObject o)
compareTo
in interface Comparable<OWLObject>
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.Copyright © 2017 The University of Manchester. All Rights Reserved.