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, toStringaccept, accept, getAnnotatedAxiom, getAxiomType, getAxiomWithoutAnnotations, isAnnotationAxiom, isLogicalAxiomaccept, accept, getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toStringcompareTogetSignaturecontainsEntityInSignaturegetAnonymousIndividualsgetClassesInSignaturegetObjectPropertiesInSignaturegetDataPropertiesInSignaturegetIndividualsInSignaturegetDatatypesInSignaturegetAnnotationPropertiesInSignatureisAnonymous, isNamedpublic OWLAxiomImplWithEntityAndAnonCaching(@Nonnull Collection<? extends OWLAnnotation> annotations)
annotations - annotations on the axiompublic boolean isAnnotated()
OWLAxiomisAnnotated in interface OWLAxiomtrue if this axiom has annotations on it, otherwise falsepublic Set<OWLAnnotation> getAnnotations()
OWLAxiomgetAnnotations in interface HasAnnotationsgetAnnotations in interface OWLAxiompublic void accept(CollectionContainerVisitor<OWLAnnotation> t)
accept in interface CollectionContainer<OWLAnnotation>t - visitor to acceptpublic Set<OWLAnnotation> getAnnotations(OWLAnnotationProperty annotationProperty)
OWLAxiomannotationProperty.getAnnotations in interface OWLAxiomannotationProperty - The annotation property that will be equal to the annotation
property of each returned annotation.annotationProperty.public boolean equalsIgnoreAnnotations(OWLAxiom axiom)
OWLAxiomequalsIgnoreAnnotations in interface OWLAxiomaxiom - The axiom to test if equaltrue if axiom without annotations is equal to this axiom without
annotations otherwise false.public boolean isOfType(AxiomType<?>... axiomTypes)
OWLAxiompublic boolean isOfType(Set<AxiomType<?>> types)
OWLAxiompublic boolean equals(Object obj)
equals in class OWLObjectImplWithEntityAndAnonCachingCopyright © 2020 The University of Manchester. All rights reserved.