public abstract class OWLAxiomImplWithEntityAndAnonCaching extends OWLObjectImplWithEntityAndAnonCaching implements OWLAxiom, CollectionContainer<OWLAnnotation>
Constructor and Description |
---|
OWLAxiomImplWithEntityAndAnonCaching(Collection<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(CollectionContainerVisitor<OWLAnnotation> t) |
boolean |
equals(Object obj) |
boolean |
equalsIgnoreAnnotations(OWLAxiom axiom)
Determines if another axiom is equal to this axiom not taking into consideration the
annotations on the axiom
|
Set<OWLAnnotation> |
getAnnotations()
Gets the annotations that are annotate this axiom.
|
Set<OWLAnnotation> |
getAnnotations(OWLAnnotationProperty annotationProperty)
Gets the annotations that annotate this axiom and whose annotation property is equal to
annotationProperty . |
OWLAxiom |
getNNF()
Gets this axioms in negation normal form.
|
boolean |
isAnnotated()
Determines if this axiom has any annotations on it
|
boolean |
isOfType(AxiomType<?>... axiomTypes)
Determines if this axiom is one of the specified types
|
boolean |
isOfType(Set<AxiomType<?>> types)
Determines if this axiom is one of the specified types
|
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
accept, accept, getAnnotatedAxiom, getAxiomType, getAxiomWithoutAnnotations, isAnnotationAxiom, isLogicalAxiom
accept, accept, getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
public OWLAxiomImplWithEntityAndAnonCaching(@Nonnull Collection<? extends OWLAnnotation> annotations)
annotations
- annotations on the axiompublic boolean isAnnotated()
OWLAxiom
isAnnotated
in interface OWLAxiom
true
if this axiom has annotations on it, otherwise false
public Set<OWLAnnotation> getAnnotations()
OWLAxiom
getAnnotations
in interface HasAnnotations
getAnnotations
in interface OWLAxiom
public void accept(CollectionContainerVisitor<OWLAnnotation> t)
accept
in interface CollectionContainer<OWLAnnotation>
t
- visitor to acceptpublic Set<OWLAnnotation> getAnnotations(OWLAnnotationProperty annotationProperty)
OWLAxiom
annotationProperty
.getAnnotations
in interface OWLAxiom
annotationProperty
- The annotation property that will be equal to the annotation
property of each returned annotation.annotationProperty
.public boolean equalsIgnoreAnnotations(OWLAxiom axiom)
OWLAxiom
equalsIgnoreAnnotations
in interface OWLAxiom
axiom
- The axiom to test if equaltrue
if axiom
without annotations is equal to this axiom without
annotations otherwise false
.public boolean isOfType(AxiomType<?>... axiomTypes)
OWLAxiom
public boolean isOfType(Set<AxiomType<?>> types)
OWLAxiom
public boolean equals(Object obj)
equals
in class OWLObjectImplWithEntityAndAnonCaching
Copyright © 2020 The University of Manchester. All rights reserved.