uk.ac.manchester.cs.owl
Class OWLAnnotationAxiomImpl<S extends OWLObject>
java.lang.Object
uk.ac.manchester.cs.owl.OWLObjectImpl
uk.ac.manchester.cs.owl.OWLAxiomImpl
uk.ac.manchester.cs.owl.OWLAnnotationAxiomImpl<S>
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLAnnotationAxiom<S>, OWLAxiom, OWLObject
- Direct Known Subclasses:
- OWLAxiomAnnotationAxiomImpl, OWLEntityAnnotationAxiomImpl, OWLOntologyAnnotationAxiomImpl
public abstract class OWLAnnotationAxiomImpl<S extends OWLObject>
- extends OWLAxiomImpl
- implements OWLAnnotationAxiom<S>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Oct-2006
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
OWLAnnotationAxiomImpl
public OWLAnnotationAxiomImpl(OWLDataFactory dataFactory,
S subject,
OWLAnnotation annotation)
getSubject
public S getSubject()
- Description copied from interface:
OWLAnnotationAxiom
- Gets the subject of the annotation.
- Specified by:
getSubject
in interface OWLAnnotationAxiom<S extends OWLObject>
getAnnotation
public OWLAnnotation getAnnotation()
- Description copied from interface:
OWLAnnotationAxiom
- Gets the actual annotation
- Specified by:
getAnnotation
in interface OWLAnnotationAxiom<S extends OWLObject>
- Returns:
- The annotation (annotation URI and value).
isLogicalAxiom
public boolean isLogicalAxiom()
- Description copied from interface:
OWLAxiom
- Determines if this axiom is a logical axiom. Logical axioms are defined to be
axioms other than both declaration axioms (including imports declarations) and annotation
axioms.
- Specified by:
isLogicalAxiom
in interface OWLAxiom
- Returns:
true
if the axiom is a logical axiom, false
if the axiom is not a logical axiom.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OWLAxiomImpl