org.nuxeo.ecm.platform.annotations.api
Interface Annotation
- All Known Implementing Classes:
- AnnotationImpl
public interface Annotation
- Author:
- Alexandre Russel
getSubject
Resource getSubject()
getId
String getId()
getAnnotates
URI getAnnotates()
throws AnnotationException
- Throws:
AnnotationException
getContext
String getContext()
throws AnnotationException
- Throws:
AnnotationException
getBody
URI getBody()
throws AnnotationException
- Throws:
AnnotationException
getBodyAsText
String getBodyAsText()
setBody
void setBody(Statement body)
setSubject
void setSubject(Resource resource)
getStatements
List<Statement> getStatements()
setStatements
void setStatements(List<Statement> annotationStatements)
setAnnotates
void setAnnotates(Statement statement)
setContext
void setContext(Statement statement)
getCreator
String getCreator()
addMetadata
void addMetadata(String predicate,
String value)
setBodyText
void setBodyText(String string)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.