public class OWLClassAssertionAxiomImpl extends OWLIndividualAxiomImpl implements OWLClassAssertionAxiom
Constructor and Description |
---|
OWLClassAssertionAxiomImpl(OWLIndividual individual,
OWLClassExpression classExpression,
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
|
OWLSubClassOfAxiom |
asOWLSubClassOfAxiom()
Gets this axiom as an
OWLSubClassOfAxiom . |
boolean |
equals(Object obj) |
OWLClassAssertionAxiom |
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.
|
OWLClassAssertionAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without
annotations.
|
OWLClassExpression |
getClassExpression()
Gets the class expression that is asserted to be a type for an individual
by this axiom.
|
OWLIndividual |
getIndividual()
Gets the individual that is asserted to be an instance of a class
expression by this axiom.
|
isAnnotationAxiom, isLogicalAxiom
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
compareTo
containsEntityInSignature
public OWLClassAssertionAxiomImpl(OWLIndividual individual, OWLClassExpression classExpression, Collection<? extends OWLAnnotation> annotations)
individual
- individualclassExpression
- classannotations
- annotations on the axiompublic OWLClassAssertionAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLClassAssertionAxiom
public OWLClassAssertionAxiom 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 OWLClassExpression getClassExpression()
OWLClassAssertionAxiom
getClassExpression
in interface OWLClassAssertionAxiom
public OWLIndividual getIndividual()
OWLClassAssertionAxiom
getIndividual
in interface OWLClassAssertionAxiom
public boolean equals(Object obj)
equals
in class OWLAxiomImpl
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 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 © 2017 The University of Manchester. All Rights Reserved.