|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLAnnotation<O extends OWLObject>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 18-Dec-2006
Annotations are used in the various types of annotation axioms, which
bind annotations to their subjects (i.e. axioms or declarations).
An annotation is equal to another annotation if both objects have equal
annotation URIs and have equal annotation values
Method Summary | ||
---|---|---|
void |
accept(OWLAnnotationVisitor visitor)
|
|
|
accept(OWLAnnotationVisitorEx<O> visitor)
|
|
java.net.URI |
getAnnotationURI()
Gets the annotation URI |
|
O |
getAnnotationValue()
Gets the annotation value. |
|
OWLConstant |
getAnnotationValueAsConstant()
If this is a constant annotation (rather than an entity annotation) then this convenience method obtains the annoation value as a constant. |
|
boolean |
isAnnotationByConstant()
Determines if the annotation value is a constant. |
Methods inherited from interface org.semanticweb.owl.model.OWLObject |
---|
accept, accept |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.net.URI getAnnotationURI()
boolean isAnnotationByConstant()
true
if the annotation value is
a constant, or false
if the annotation value
is an entity (class, property, individual or datatype)O getAnnotationValue()
OWLConstant getAnnotationValueAsConstant()
isAnnotationByConstant
method
returns false
will throws an OWLRuntimeException
void accept(OWLAnnotationVisitor visitor)
<O> O accept(OWLAnnotationVisitorEx<O> visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |