public class OWLObjectPropertyAssertionAxiomImpl extends OWLIndividualRelationshipAxiomImpl<OWLObjectPropertyExpression,OWLIndividual> implements OWLObjectPropertyAssertionAxiom
Constructor and Description |
---|
OWLObjectPropertyAssertionAxiomImpl(OWLIndividual subject,
OWLObjectPropertyExpression property,
OWLIndividual object,
Set<? 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
|
OWLSubClassOfAxiom |
asOWLSubClassOfAxiom()
Gets this axiom as an
OWLSubClassOfAxiom . |
boolean |
equals(Object obj) |
OWLObjectPropertyAssertionAxiom |
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.
|
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.
|
addAnonymousIndividualsToSet, addSignatureEntitiesToSet, getObject, getProperty, getSubject
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
getObject, getProperty, getSubject
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
public OWLObjectPropertyAssertionAxiomImpl(@Nonnull OWLIndividual subject, @Nonnull OWLObjectPropertyExpression property, @Nonnull OWLIndividual object, @Nonnull Set<? extends 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 OWLObjectPropertyAssertionAxiom 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 boolean equals(Object obj)
equals
in class OWLIndividualRelationshipAxiomImpl<OWLObjectPropertyExpression,OWLIndividual>
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
public void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
Copyright © 2020 The University of Manchester. All rights reserved.