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
AnnotationException
String getContext() throws AnnotationException
AnnotationException
URI getBody() throws AnnotationException
AnnotationException
String getBodyAsText()
void setBody(Statement body)
void setSubject(Resource resource)
void setAnnotates(Statement statement)
void setContext(Statement statement)
String getCreator()
void setBodyText(String string)
Copyright © 2015 Nuxeo SA. All rights reserved.