|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLConstantAnnotation
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 19-Dec-2006
Represents an annotation which has a constant (i.e. typed or untyped
literal) as its value.
| Method Summary | |
|---|---|
boolean |
isComment()
Determines if the specified annotation is a comment annotation. |
boolean |
isLabel()
Determines if the specified annotation is a label annotation. |
| Methods inherited from interface org.semanticweb.owl.model.OWLAnnotation |
|---|
accept, accept, getAnnotationURI, getAnnotationValue, getAnnotationValueAsConstant, isAnnotationByConstant |
| Methods inherited from interface org.semanticweb.owl.model.OWLObject |
|---|
accept, accept, getSignature |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
boolean isLabel()
true if the annotation is a label annoation, and
can be cast to OWLLabelAnnotation, otherwise false.
Note that this method will return false for
annotations which aren't "syntactically" label annotations but which have
an rdfs:label URI (see the OWL 1.1 Functional specification for more
details).boolean isComment()
true if the annotation is a comment annoation, and
can be cast to OWLCommentAnnotation, otherwise false.
Note that this method will return false for
annotations which aren't "syntactically" comment annotations but which have
an rdfs:comment URI (see the OWL 1.1 Functional specification for more
details).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||