public class OWLInverseObjectPropertiesAxiomImpl extends OWLNaryPropertyAxiomImpl<OWLObjectPropertyExpression> implements OWLInverseObjectPropertiesAxiom
| Constructor and Description |
|---|
OWLInverseObjectPropertiesAxiomImpl(OWLObjectPropertyExpression first,
OWLObjectPropertyExpression second,
Collection<? extends OWLAnnotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
Set<OWLInverseObjectPropertiesAxiom> |
asPairwiseAxioms()
Gets this axiom as a set of pairwise axioms; if the axiom contains only two operands,
the axiom itself is returned unchanged, including its annotations.
|
Set<OWLSubObjectPropertyOfAxiom> |
asSubObjectPropertyOfAxioms() |
boolean |
equals(Object obj) |
OWLInverseObjectPropertiesAxiom |
getAnnotatedAxiom(Set<OWLAnnotation> annotations)
Gets a copy of this axiom that is annotated with the specified annotations.
|
AxiomType<?> |
getAxiomType()
Gets the axiom type for this axiom.
|
OWLInverseObjectPropertiesAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLObjectPropertyExpression |
getFirstProperty() |
OWLObjectPropertyExpression |
getSecondProperty() |
Set<OWLInverseObjectPropertiesAxiom> |
splitToAnnotatedPairs()
Splits this axiom to pairs, including annotations.
|
<T> Collection<T> |
walkPairwise(OWLPairwiseVisitor<T,OWLObjectPropertyExpression> visitor) |
addAnonymousIndividualsToSet, addSignatureEntitiesToSet, getProperties, getPropertiesMinusisAnnotationAxiom, isLogicalAxiomaccept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getAnonymousIndividuals, getNNF, getSignature, isAnnotated, isOfType, isOfTypecompareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, hashCode, isBottomEntity, isTopEntity, toStringgetProperties, getPropertiesMinuspublic OWLInverseObjectPropertiesAxiomImpl(@Nonnull OWLObjectPropertyExpression first, @Nonnull OWLObjectPropertyExpression second, @Nonnull Collection<? extends OWLAnnotation> annotations)
first - first propertysecond - second propertyannotations - annotationspublic Set<OWLInverseObjectPropertiesAxiom> asPairwiseAxioms()
OWLNaryAxiomasPairwiseAxioms in interface OWLInverseObjectPropertiesAxiomasPairwiseAxioms in interface OWLNaryAxiom<OWLObjectPropertyExpression>public Set<OWLInverseObjectPropertiesAxiom> splitToAnnotatedPairs()
OWLNaryAxiomsplitToAnnotatedPairs in interface OWLInverseObjectPropertiesAxiomsplitToAnnotatedPairs in interface OWLNaryAxiom<OWLObjectPropertyExpression>public OWLInverseObjectPropertiesAxiom getAxiomWithoutAnnotations()
OWLAxiomgetAxiomWithoutAnnotations in interface OWLAxiomgetAxiomWithoutAnnotations in interface OWLInverseObjectPropertiesAxiompublic OWLInverseObjectPropertiesAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations)
OWLAxiomgetAnnotatedAxiom in interface OWLAxiomannotations - The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations() method.public void accept(OWLObjectVisitor visitor)
OWLObjectpublic void accept(OWLAxiomVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic OWLObjectPropertyExpression getFirstProperty()
getFirstProperty in interface OWLInverseObjectPropertiesAxiompublic OWLObjectPropertyExpression getSecondProperty()
getSecondProperty in interface OWLInverseObjectPropertiesAxiompublic boolean equals(Object obj)
equals in class OWLNaryPropertyAxiomImpl<OWLObjectPropertyExpression>public AxiomType<?> getAxiomType()
OWLAxiomgetAxiomType in interface OWLAxiompublic Set<OWLSubObjectPropertyOfAxiom> asSubObjectPropertyOfAxioms()
asSubObjectPropertyOfAxioms in interface OWLInverseObjectPropertiesAxiompublic <T> Collection<T> walkPairwise(OWLPairwiseVisitor<T,OWLObjectPropertyExpression> visitor)
walkPairwise in interface OWLNaryAxiom<OWLObjectPropertyExpression>walkPairwise in class OWLNaryPropertyAxiomImpl<OWLObjectPropertyExpression>T - type returned by visitorvisitor - visitor to apply to all pairwise elements in this axiomCopyright © 2021 The University of Manchester. All rights reserved.