uk.ac.manchester.cs.owl
Class OWLAnnotationImpl<O extends OWLObject>
java.lang.Object
uk.ac.manchester.cs.owl.OWLObjectImpl
uk.ac.manchester.cs.owl.OWLAnnotationImpl<O>
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLAnnotation<O>, OWLObject
- Direct Known Subclasses:
- OWLConstantAnnotationImpl, OWLObjectAnnotationImpl
public abstract class OWLAnnotationImpl<O extends OWLObject>
- extends OWLObjectImpl
- implements OWLAnnotation<O>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 19-Dec-2006
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
OWLAnnotationImpl
public OWLAnnotationImpl(OWLDataFactory dataFactory,
java.net.URI uri,
O object)
getAnnotationURI
public java.net.URI getAnnotationURI()
- Description copied from interface:
OWLAnnotation
- Gets the annotation URI
- Specified by:
getAnnotationURI
in interface OWLAnnotation<O extends OWLObject>
getAnnotationValue
public O getAnnotationValue()
- Description copied from interface:
OWLAnnotation
- Gets the annotation value. The type of value will depend upon
the type of the annotation e.g. whether the annotation is a constant
annotation, individual annotation etc.
- Specified by:
getAnnotationValue
in interface OWLAnnotation<O extends OWLObject>
isComment
public boolean isComment()
isLabel
public boolean isLabel()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OWLObjectImpl