public class OWLSubAnnotationPropertyOfAxiomImpl extends OWLAxiomImplWithEntityAndAnonCaching implements OWLSubAnnotationPropertyOfAxiom
Constructor and Description |
---|
OWLSubAnnotationPropertyOfAxiomImpl(OWLAnnotationProperty subProperty,
OWLAnnotationProperty superProperty,
Collection<? 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
|
boolean |
equals(Object obj) |
OWLSubAnnotationPropertyOfAxiom |
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.
|
OWLSubAnnotationPropertyOfAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLAnnotationProperty |
getSubProperty()
Gets the subproperty of this axiom.
|
OWLAnnotationProperty |
getSuperProperty()
Gets the super property of this axiom.
|
boolean |
isAnnotationAxiom()
Determines if this axioms in an annotation axiom (an instance of
OWLAnnotationAxiom ) |
boolean |
isLogicalAxiom()
Determines if this axiom is a logical axiom.
|
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
public OWLSubAnnotationPropertyOfAxiomImpl(@Nonnull OWLAnnotationProperty subProperty, @Nonnull OWLAnnotationProperty superProperty, @Nonnull Collection<? extends OWLAnnotation> annotations)
subProperty
- sub propertysuperProperty
- super propertyannotations
- annotations on the axiompublic OWLSubAnnotationPropertyOfAxiom 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 OWLSubAnnotationPropertyOfAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLSubAnnotationPropertyOfAxiom
public OWLAnnotationProperty getSubProperty()
OWLSubAnnotationPropertyOfAxiom
getSubProperty
in interface OWLSubAnnotationPropertyOfAxiom
public OWLAnnotationProperty getSuperProperty()
OWLSubAnnotationPropertyOfAxiom
getSuperProperty
in interface OWLSubAnnotationPropertyOfAxiom
public void accept(OWLAxiomVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public boolean isLogicalAxiom()
OWLAxiom
isLogicalAxiom
in interface OWLAxiom
true
if the axiom is a logical axiom, false
if the axiom is not a
logical axiom.public boolean isAnnotationAxiom()
OWLAxiom
OWLAnnotationAxiom
)isAnnotationAxiom
in interface OWLAxiom
true
if this axiom is an instance of OWLAnnotationAxiom
, otherwise
false
.public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
public void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public boolean equals(Object obj)
equals
in class OWLAxiomImplWithEntityAndAnonCaching
Copyright © 2020 The University of Manchester. All rights reserved.