public interface Annotation
| Modifier and Type | Method and Description |
|---|---|
void |
addMetadata(String predicate,
String value) |
URI |
getAnnotates() |
URI |
getBody() |
String |
getBodyAsText() |
String |
getContext() |
String |
getCreator() |
String |
getId() |
List<Statement> |
getStatements() |
Resource |
getSubject() |
void |
setAnnotates(Statement statement) |
void |
setBody(Statement body) |
void |
setBodyText(String string) |
void |
setContext(Statement statement) |
void |
setStatements(List<Statement> annotationStatements) |
void |
setSubject(Resource resource) |
Resource getSubject()
String getId()
URI getAnnotates() throws AnnotationException
AnnotationExceptionString getContext() throws AnnotationException
AnnotationExceptionURI getBody() throws AnnotationException
AnnotationExceptionString getBodyAsText()
void setBody(Statement body)
void setSubject(Resource resource)
void setAnnotates(Statement statement)
void setContext(Statement statement)
String getCreator()
void setBodyText(String string)
Copyright © 2019 Nuxeo SA. All rights reserved.