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, getPropertiesMinus
isAnnotationAxiom, isLogicalAxiom
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getAnonymousIndividuals, getNNF, getSignature, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, hashCode, isBottomEntity, isTopEntity, toString
getProperties, getPropertiesMinus
public OWLInverseObjectPropertiesAxiomImpl(@Nonnull OWLObjectPropertyExpression first, @Nonnull OWLObjectPropertyExpression second, @Nonnull Collection<? extends OWLAnnotation> annotations)
first
- first propertysecond
- second propertyannotations
- annotationspublic Set<OWLInverseObjectPropertiesAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLInverseObjectPropertiesAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLObjectPropertyExpression>
public Set<OWLInverseObjectPropertiesAxiom> splitToAnnotatedPairs()
OWLNaryAxiom
splitToAnnotatedPairs
in interface OWLInverseObjectPropertiesAxiom
splitToAnnotatedPairs
in interface OWLNaryAxiom<OWLObjectPropertyExpression>
public OWLInverseObjectPropertiesAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLInverseObjectPropertiesAxiom
public OWLInverseObjectPropertiesAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
annotations
- The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations()
method.public void accept(OWLObjectVisitor visitor)
OWLObject
public void accept(OWLAxiomVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public OWLObjectPropertyExpression getFirstProperty()
getFirstProperty
in interface OWLInverseObjectPropertiesAxiom
public OWLObjectPropertyExpression getSecondProperty()
getSecondProperty
in interface OWLInverseObjectPropertiesAxiom
public boolean equals(Object obj)
equals
in class OWLNaryPropertyAxiomImpl<OWLObjectPropertyExpression>
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
public Set<OWLSubObjectPropertyOfAxiom> asSubObjectPropertyOfAxioms()
asSubObjectPropertyOfAxioms
in interface OWLInverseObjectPropertiesAxiom
public <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 © 2020 The University of Manchester. All rights reserved.