Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.api
Interface Annotation

All Known Implementing Classes:
AnnotationImpl

public interface Annotation

Author:
Alexandre Russel

Method Summary
 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)
           
 

Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.