public class OWLDeclarationAxiomImpl extends OWLAxiomImpl implements OWLDeclarationAxiom
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLDeclarationAxiomImpl(OWLEntity entity,
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
|
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
equals(Object obj) |
OWLDeclarationAxiom |
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.
|
OWLDeclarationAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without
annotations.
|
OWLEntity |
getEntity()
Gets the entity that this axiom declares.
|
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, mergeAnnoscompareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfTypegetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitycompareTopublic OWLDeclarationAxiomImpl(OWLEntity entity, Collection<? extends OWLAnnotation> annotations)
entity - entity to declareannotations - annotations on the axiompublic boolean isLogicalAxiom()
OWLAxiomisLogicalAxiom in interface OWLAxiomtrue if the axiom is a logical axiom, false if
the axiom is not a logical axiom.public boolean isAnnotationAxiom()
OWLAxiomOWLAnnotationAxiom)isAnnotationAxiom in interface OWLAxiomtrue if this axiom is an instance of
OWLAnnotationAxiom, otherwise false.public OWLDeclarationAxiom getAxiomWithoutAnnotations()
OWLAxiomgetAxiomWithoutAnnotations in interface OWLAxiomgetAxiomWithoutAnnotations in interface OWLDeclarationAxiompublic OWLDeclarationAxiom getAnnotatedAxiom(Set<OWLAnnotation> annotations)
OWLAxiomgetAnnotatedAxiom in interface OWLAxiomannotations - The annotations that will be added to existing annotations to
annotate the copy of this axiomOWLAxiom#getAnnotations() method.public OWLEntity getEntity()
OWLDeclarationAxiomgetEntity in interface OWLDeclarationAxiompublic boolean equals(Object obj)
equals in class OWLAxiomImplpublic void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
OWLObjectpublic <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic AxiomType<?> getAxiomType()
OWLAxiomgetAxiomType in interface OWLAxiomprotected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplCopyright © 2014 The University of Manchester. All Rights Reserved.