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