public abstract class OWLAxiomImplWithoutEntityAndAnonCaching extends OWLObjectImplWithoutEntityAndAnonCaching implements OWLAxiom, CollectionContainer<OWLAnnotation>
Constructor and Description |
---|
OWLAxiomImplWithoutEntityAndAnonCaching(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 . |
Set<OWLAnonymousIndividual> |
getAnonymousIndividuals()
Gets the anonymous individuals occurring in this object.
|
OWLAxiom |
getNNF()
Gets this axioms in negation normal form.
|
Set<OWLEntity> |
getSignature()
Gets the signature of this object.
|
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, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, hashCode, isBottomEntity, isTopEntity, toString
accept, accept, getAnnotatedAxiom, getAxiomType, getAxiomWithoutAnnotations, isAnnotationAxiom, isLogicalAxiom
accept, accept, getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
containsEntityInSignature
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLAxiomImplWithoutEntityAndAnonCaching(@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 OWLObjectImplWithoutEntityAndAnonCaching
public OWLAxiom getNNF()
OWLAxiom
@Nonnull public Set<OWLEntity> getSignature()
HasSignature
getSignature
in interface HasSignature
getSignature
in class OWLObjectImplWithoutEntityAndAnonCaching
@Nonnull public Set<OWLAnonymousIndividual> getAnonymousIndividuals()
HasAnonymousIndividuals
getAnonymousIndividuals
in interface HasAnonymousIndividuals
getAnonymousIndividuals
in class OWLObjectImplWithoutEntityAndAnonCaching
Copyright © 2020 The University of Manchester. All rights reserved.