public interface OWLObject extends Comparable<OWLObject>, Serializable, HasSignature, HasContainsEntityInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasObjectPropertiesInSignature, HasDataPropertiesInSignature, HasIndividualsInSignature, HasDatatypesInSignature, HasAnnotationPropertiesInSignature, HasIndex, HasHashIndex, HasComponents, IsAnonymous
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
default Set<OWLClassExpression> |
getNestedClassExpressions()
Gets all of the nested (includes top level) class expressions (anonymous and named) that are
used in this object.
|
static int |
hashIteration(int a,
int b)
Iteration for hash codes
|
default boolean |
hasSharedStructure() |
int |
initHashCode() |
default boolean |
isAnonymousExpression() |
default boolean |
isAxiom() |
default 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).
|
default boolean |
isIndividual() |
default boolean |
isIRI() |
default boolean |
isOntology() |
default 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).
|
default Stream<OWLClassExpression> |
nestedClassExpressions()
Gets all of the nested (includes top level) class expressions (anonymous and named) that are
used in this object.
|
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
hashIndex
components, componentsAnnotationsFirst, componentsWithoutAnnotations
isAnonymous, isNamed
default Set<OWLClassExpression> getNestedClassExpressions()
OWLClassExpression
s that represent the
nested class expressions used in this object. The set that is returned is a copy;
modifications to the returned set will not be reflected in this object.default Stream<OWLClassExpression> nestedClassExpressions()
OWLClassExpression
s that represent
the nested class expressions used in this object.void accept(OWLObjectVisitor visitor)
visitor
- The visitor<O> O accept(OWLObjectVisitorEx<O> visitor)
O
- visitor return typevisitor
- The visitordefault boolean isTopEntity()
true
if this object corresponds to one of the above entities.default boolean isBottomEntity()
true
if this object corresponds to one of the above entities.default boolean isIRI()
default boolean isIndividual()
default boolean isAxiom()
default boolean isOntology()
default boolean isAnonymousExpression()
default boolean hasSharedStructure()
some P C subClassOf some Q (some P C)
(some P C) and (some Q (some P C))
int initHashCode()
static int hashIteration(int a, int b)
a
- existing hashb
- hash to addCopyright © 2020 The University of Manchester. All rights reserved.