public class OWLEquivalentObjectPropertiesAxiomImpl extends OWLNaryPropertyAxiomImpl<OWLObjectPropertyExpression> implements OWLEquivalentObjectPropertiesAxiom
Constructor and Description |
---|
OWLEquivalentObjectPropertiesAxiomImpl(List<OWLObjectPropertyExpression> properties,
Collection<OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
Collection<OWLEquivalentObjectPropertiesAxiom> |
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.
|
OWLEquivalentObjectPropertiesAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
Collection<OWLEquivalentObjectPropertiesAxiom> |
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 OWLEquivalentObjectPropertiesAxiomImpl(List<OWLObjectPropertyExpression> properties, Collection<OWLAnnotation> annotations)
properties
- properties (list must be sorted in the factory)annotations
- annotationspublic OWLEquivalentObjectPropertiesAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLEquivalentObjectPropertiesAxiom
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 Collection<OWLEquivalentObjectPropertiesAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLEquivalentObjectPropertiesAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLObjectPropertyExpression>
public Collection<OWLEquivalentObjectPropertiesAxiom> splitToAnnotatedPairs()
OWLNaryAxiom
splitToAnnotatedPairs
in interface OWLEquivalentObjectPropertiesAxiom
splitToAnnotatedPairs
in interface OWLNaryAxiom<OWLObjectPropertyExpression>
public Collection<OWLSubObjectPropertyOfAxiom> asSubObjectPropertyOfAxioms()
asSubObjectPropertyOfAxioms
in interface OWLEquivalentObjectPropertiesAxiom
Copyright © 2020 The University of Manchester. All rights reserved.