public class OWLHasKeyAxiomImpl extends OWLLogicalAxiomImplWithoutEntityAndAnonCaching implements OWLHasKeyAxiom
Constructor and Description |
---|
OWLHasKeyAxiomImpl(OWLClassExpression expression,
Set<? extends OWLPropertyExpression> propertyExpressions,
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
|
void |
addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons) |
void |
addSignatureEntitiesToSet(Set<OWLEntity> entities) |
boolean |
equals(Object obj) |
OWLHasKeyAxiom |
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.
|
OWLHasKeyAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLClassExpression |
getClassExpression()
Gets the class expression, instances of which, this axiom acts as the key
for
|
Set<OWLDataPropertyExpression> |
getDataPropertyExpressions()
Gets the set of data property expressions that make up the key.
|
Set<OWLObjectPropertyExpression> |
getObjectPropertyExpressions()
Gets the set of object property expressions that make up the key.
|
Set<OWLPropertyExpression> |
getPropertyExpressions()
Gets the set of property expressions that form the key
|
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
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 OWLHasKeyAxiomImpl(@Nonnull OWLClassExpression expression, @Nonnull Set<? extends OWLPropertyExpression> propertyExpressions, @Nonnull Collection<? extends OWLAnnotation> annotations)
expression
- class expressionpropertyExpressions
- propertiesannotations
- annotations on the axiompublic void addSignatureEntitiesToSet(Set<OWLEntity> entities)
addSignatureEntitiesToSet
in interface HasIncrementalSignatureGenerationSupport
entities
- entity set where entities will be addedpublic void addAnonymousIndividualsToSet(Set<OWLAnonymousIndividual> anons)
addAnonymousIndividualsToSet
in interface HasIncrementalSignatureGenerationSupport
anons
- anonymous individuals set where individuals will be addedpublic OWLHasKeyAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLHasKeyAxiom
public OWLHasKeyAxiom 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 AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
public OWLClassExpression getClassExpression()
OWLHasKeyAxiom
getClassExpression
in interface OWLHasKeyAxiom
public Set<OWLPropertyExpression> getPropertyExpressions()
OWLHasKeyAxiom
getPropertyExpressions
in interface OWLHasKeyAxiom
public Set<OWLDataPropertyExpression> getDataPropertyExpressions()
OWLHasKeyAxiom
OWLHasKeyAxiom.getPropertyExpressions()
method.getDataPropertyExpressions
in interface OWLHasKeyAxiom
public Set<OWLObjectPropertyExpression> getObjectPropertyExpressions()
OWLHasKeyAxiom
OWLHasKeyAxiom.getPropertyExpressions()
method.getObjectPropertyExpressions
in interface OWLHasKeyAxiom
public void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public void accept(OWLAxiomVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public boolean equals(Object obj)
equals
in class OWLAxiomImplWithoutEntityAndAnonCaching
Copyright © 2020 The University of Manchester. All rights reserved.