public interface AnnotationCollection extends ResourceObject
GET_CONNECTION, GET_RESOURCE| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(String label)
Adds a single value to the currently defined Set for the http://www.w3.org/2000/01/rdf-schema#label relationship.
|
AnnotationPage |
getFirstPage()
Gets the AnnotationPage currently defined at the http://www.w3.org/ns/activitystreams#first relationship.
|
Set<String> |
getLabels()
Gets the Set of values currently defined for the http://www.w3.org/2000/01/rdf-schema#label relationship.
|
AnnotationPage |
getLastPage()
Gets the AnnotationPage currently defined for the http://www.w3.org/ns/activitystreams#last relationship.
|
int |
getTotal()
Gets the currently defined value for the http://www.w3.org/ns/activitystreams#totalItems relationship.
|
void |
setFirstPage(AnnotationPage page)
Sets the value of the http://www.w3.org/ns/activitystreams#first relationship.
|
void |
setLabels(Set<String> labels)
Sets the Set of values for the http://www.w3.org/2000/01/rdf-schema#label relationship.
|
void |
setLastPage(AnnotationPage page)
Sets the value for the http://www.w3.org/ns/activitystreams#last relationship.
|
void |
setTotal(int total)
Sets the value for the http://www.w3.org/ns/activitystreams#totalItems relationship.
|
delete, getResourceAsString, getTriples, setResource, setResourceAsStringgetObjectConnection, getResourcevoid setLabels(Set<String> labels)
labels - The Set of values to set for the http://www.w3.org/2000/01/rdf-schema#label relationship.Set<String> getLabels()
void addLabel(String label)
label - The single label to add to the currently defined values of the
http://www.w3.org/2000/01/rdf-schema#label relationship.void setTotal(int total)
total - The value to set for the http://www.w3.org/ns/activitystreams#totalItems relationship.int getTotal()
void setFirstPage(AnnotationPage page)
page - The AnnotationPage to define the http://www.w3.org/ns/activitystreams#first relationship point to.AnnotationPage getFirstPage()
void setLastPage(AnnotationPage page)
page - The AnnotationPage to set for the http://www.w3.org/ns/activitystreams#last relationship.AnnotationPage getLastPage()
Copyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.