public class OWLObjectPropertyAssertionAxiomImpl extends OWLIndividualRelationshipAxiomImpl<OWLObjectPropertyExpression,OWLIndividual> implements OWLObjectPropertyAssertionAxiom
Constructor and Description |
---|
OWLObjectPropertyAssertionAxiomImpl(OWLIndividual subject,
OWLObjectPropertyExpression property,
OWLIndividual object,
Collection<OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
OWLSubClassOfAxiom |
asOWLSubClassOfAxiom()
Gets this axiom as an
OWLSubClassOfAxiom . |
<T extends OWLAxiom> |
getAnnotatedAxiom(Stream<OWLAnnotation> anns)
Gets a copy of this axiom that is annotated with the specified annotations.
|
OWLObjectPropertyAssertionAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLObjectPropertyAssertionAxiom |
getSimplified()
Gets a simplified version of this object property axiom.
|
boolean |
isInSimplifiedForm()
Determines if this axiom is in a simplified form, i.e.
|
getObject, getProperty, getSubject
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, getObject, getProperty, getSubject, initHashCode
isLogicalAxiom
equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isAxiom, isIndividual, isOfType, isOfType, isOfType, typeIndex
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
isAnonymous, isNamed
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLObjectPropertyAssertionAxiomImpl(OWLIndividual subject, OWLObjectPropertyExpression property, OWLIndividual object, Collection<OWLAnnotation> annotations)
subject
- subjectproperty
- propertyobject
- objectannotations
- annotationspublic OWLObjectPropertyAssertionAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLObjectPropertyAssertionAxiom
public OWLSubClassOfAxiom asOWLSubClassOfAxiom()
OWLSubClassOfAxiomShortCut
OWLSubClassOfAxiom
.asOWLSubClassOfAxiom
in interface OWLSubClassOfAxiomShortCut
OWLSubClassOfAxiom
that is equivalent to this
axiom. Note that annotations are not copied to the returned OWLSubClassOfAxiom
axiom.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 OWLObjectPropertyAssertionAxiom getSimplified()
OWLObjectPropertyAssertionAxiom
getSimplified
in interface OWLObjectPropertyAssertionAxiom
public boolean isInSimplifiedForm()
OWLObjectPropertyAssertionAxiom
isInSimplifiedForm
in interface OWLObjectPropertyAssertionAxiom
true
if this axiom is in a simplified form, otherwise false
Copyright © 2020 The University of Manchester. All rights reserved.