public class OWLObjectPropertyRangeAxiomImpl extends OWLPropertyRangeAxiomImpl<OWLObjectPropertyExpression,OWLClassExpression> implements OWLObjectPropertyRangeAxiom
Constructor and Description |
---|
OWLObjectPropertyRangeAxiomImpl(OWLObjectPropertyExpression property,
OWLClassExpression range,
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) |
OWLObjectPropertyRangeAxiom |
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.
|
OWLObjectPropertyRangeAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
getRange
getProperty
isAnnotationAxiom, isLogicalAxiom
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
getRange
getProperty
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 OWLObjectPropertyRangeAxiomImpl(@Nonnull OWLObjectPropertyExpression property, @Nonnull OWLClassExpression range, @Nonnull Set<? extends OWLAnnotation> annotations)
property
- propertyrange
- rangeannotations
- annotationspublic boolean equals(Object obj)
equals
in class OWLPropertyRangeAxiomImpl<OWLObjectPropertyExpression,OWLClassExpression>
@Nonnull public OWLObjectPropertyRangeAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLObjectPropertyRangeAxiom
public OWLObjectPropertyRangeAxiom 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(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
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.Copyright © 2020 The University of Manchester. All rights reserved.