public interface Annotation extends ResourceObject
GET_CONNECTION, GET_RESOURCE| Modifier and Type | Method and Description |
|---|---|
void |
addTarget(Target target)
Adds a http:www.w3.org/ns/oa#hasTarget relationship.
|
String |
getAnnotatedAt()
Gets http:www.w3.org/ns/oa#annotatedAt relationship.
|
Agent |
getAnnotatedBy()
Gets http:www.w3.org/ns/oa#annotatedBy relationship.
|
Body |
getBody()
Gets http:www.w3.org/ns/oa#hasBody relationship.
|
Motivation |
getMotivatedBy()
Gets http:www.w3.org/ns/oa#motivatedBy relationship.
|
String |
getSerializedAt()
Gets http:www.w3.org/ns/oa#serializedAt relationship.
|
Agent |
getSerializedBy()
Gets http:www.w3.org/ns/oa#serializedBy relationship.
|
Set<Target> |
getTarget()
Gets http:www.w3.org/ns/oa#hasTarget relationships.
|
void |
setAnnotatedAt(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
Sets http:www.w3.org/ns/oa#annotatedAt according to the format year-month-dayThours:minutes:secondsZ, e.g.
|
void |
setAnnotatedAt(String annotatedAt)
Sets http:www.w3.org/ns/oa#annotatedAt.
|
void |
setAnnotatedBy(Agent annotatedBy)
Sets http:www.w3.org/ns/oa#annotatedBy.
|
void |
setBody(Body body)
Sets http:www.w3.org/ns/oa#hasBody.
|
void |
setMotivatedBy(Motivation motivatedBy)
Sets http:www.w3.org/ns/oa#motivatedBy.
|
void |
setSerializedAt(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
Sets http:www.w3.org/ns/oa#serializedAt according to the format year-month-dayThours:minutes:secondsZ, e.g.
|
void |
setSerializedAt(String serializedAt)
Sets http:www.w3.org/ns/oa#serializedAt.
|
void |
setSerializedBy(Agent serializedBy)
Sets http:www.w3.org/ns/oa#serializedBy.
|
void |
setTarget(Set<Target> targets)
Sets http:www.w3.org/ns/oa#hasTarget.
|
delete, getResourceAsString, getTriples, setResource, setResourceAsStringgetObjectConnection, getResourceBody getBody()
void setBody(Body body)
body - New value of http:www.w3.orgnsoa#hasBody.Set<Target> getTarget()
void setTarget(Set<Target> targets)
targets - New value of http:www.w3.org/ns/oa#hasTarget.void addTarget(Target target)
target - New http:www.w3.org/ns/oa#hasTarget relationship.Motivation getMotivatedBy()
void setMotivatedBy(Motivation motivatedBy)
motivatedBy - New value of http:www.w3.org/ns/oa#motivatedBy.Agent getSerializedBy()
void setSerializedBy(Agent serializedBy)
serializedBy - New value of http:www.w3.org/ns/oa#serializedBy.Agent getAnnotatedBy()
void setAnnotatedBy(Agent annotatedBy)
annotatedBy - New value of http:www.w3.org/ns/oa#annotatedBy.String getSerializedAt()
void setSerializedAt(String serializedAt)
serializedAt - New value of http:www.w3.org/ns/oa#serializedAt.void setSerializedAt(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
year - The year to set.month - The month to set.day - The day to set.hours - The hours to set.minutes - The minutes to set.seconds - The seconds to set.String getAnnotatedAt()
void setAnnotatedAt(String annotatedAt)
annotatedAt - New value of http:www.w3.org/ns/oa#annotatedAt.void setAnnotatedAt(int year,
int month,
int day,
int hours,
int minutes,
int seconds)
year - The year to set.month - The month to set.day - The day to set.hours - The hours to set.minutes - The minutes to set.seconds - The seconds to set.Copyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.