public class OWLInverseObjectPropertiesAxiomImpl extends OWLNaryPropertyAxiomImpl<OWLObjectPropertyExpression> implements OWLInverseObjectPropertiesAxiom
Constructor and Description |
---|
OWLInverseObjectPropertiesAxiomImpl(OWLObjectPropertyExpression first,
OWLObjectPropertyExpression second,
Collection<OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
Collection<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.
|
Collection<OWLSubObjectPropertyOfAxiom> |
asSubObjectPropertyOfAxioms() |
<T extends OWLAxiom> |
getAnnotatedAxiom(Stream<OWLAnnotation> anns)
Gets a copy of this axiom that is annotated with the specified annotations.
|
OWLInverseObjectPropertiesAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLObjectPropertyExpression |
getFirstProperty() |
OWLObjectPropertyExpression |
getSecondProperty() |
Collection<OWLInverseObjectPropertiesAxiom> |
splitToAnnotatedPairs()
Splits this axiom to pairs, including annotations.
|
getOperandsAsList, getPropertiesMinus, properties
annotations, annotationsAsList, getNNF, isAnnotated
annotationPropertiesInSignature, anonymousIndividuals, classesInSignature, compareTo, containsEntityInSignature, dataPropertiesInSignature, datatypesInSignature, equals, hashCode, individualsInSignature, nestedClassExpressions, objectPropertiesInSignature, signature, toString
accept, accept, accept, accept, getAxiomType, hashIndex
components, componentsAnnotationsFirst, componentsWithoutAnnotations, getProperties, getPropertiesMinus, initHashCode, operands, properties
allMatch, allMatchAllPairs, anyMatch, anyMatchAllPairs, forEach, forEachAllPairs, walkAllPairwise, walkPairwise
getOperandsAsList
isLogicalAxiom
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLInverseObjectPropertiesAxiomImpl(OWLObjectPropertyExpression first, OWLObjectPropertyExpression second, Collection<OWLAnnotation> annotations)
first
- first propertysecond
- second propertyannotations
- annotationspublic Collection<OWLInverseObjectPropertiesAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLInverseObjectPropertiesAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLObjectPropertyExpression>
public Collection<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 <T extends OWLAxiom> T getAnnotatedAxiom(Stream<OWLAnnotation> anns)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
T
- typeanns
- The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations()
method.public OWLObjectPropertyExpression getFirstProperty()
getFirstProperty
in interface OWLInverseObjectPropertiesAxiom
public OWLObjectPropertyExpression getSecondProperty()
getSecondProperty
in interface OWLInverseObjectPropertiesAxiom
public Collection<OWLSubObjectPropertyOfAxiom> asSubObjectPropertyOfAxioms()
asSubObjectPropertyOfAxioms
in interface OWLInverseObjectPropertiesAxiom
Copyright © 2020 The University of Manchester. All rights reserved.