public class AnnotationImpl extends Object implements Annotation, Serializable
| Constructor and Description | 
|---|
AnnotationImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addMetadata(String predicate,
           String value)  | 
URI | 
getAnnotates()  | 
URI | 
getBody()  | 
String | 
getBodyAsText()  | 
String | 
getContext()  | 
String | 
getCreator()  | 
Graph | 
getGraph()  | 
String | 
getId()  | 
List<Statement> | 
getStatements()  | 
Resource | 
getSubject()  | 
void | 
setAnnotates(Statement statement)  | 
void | 
setBody(Statement body)  | 
void | 
setBodyText(String text)  | 
void | 
setContext(Statement context)  | 
void | 
setGraph(Graph graph)  | 
void | 
setStatements(List<Statement> statements)  | 
void | 
setSubject(Resource resource)  | 
public AnnotationImpl()
public Resource getSubject()
getSubject in interface Annotationpublic void setBody(Statement body)
setBody in interface Annotationpublic URI getAnnotates()
getAnnotates in interface Annotationpublic URI getBody()
getBody in interface Annotationpublic String getBodyAsText()
getBodyAsText in interface Annotationpublic void setBodyText(String text)
setBodyText in interface Annotationpublic String getContext()
getContext in interface Annotationpublic void setContext(Statement context)
setContext in interface Annotationpublic List<Statement> getStatements()
getStatements in interface Annotationpublic void setStatements(List<Statement> statements)
setStatements in interface Annotationpublic void setSubject(Resource resource)
setSubject in interface Annotationpublic void setAnnotates(Statement statement)
setAnnotates in interface Annotationpublic String getCreator()
getCreator in interface Annotationpublic void addMetadata(String predicate, String value)
addMetadata in interface Annotationpublic String getId()
getId in interface AnnotationCopyright © 2019 Nuxeo. All rights reserved.