public class Annotation extends ResourceObject
GET_CONNECTION, GET_RESOURCE| Constructor and Description |
|---|
Annotation()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Target |
getTarget()
Gets http:www.w3.org/ns/oa#hasTarget relationship.
|
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(String serializedAt)
Sets http:www.w3.org/ns/oa#serializedAt.
|
void |
setSerializedBy(Agent serializedBy)
Sets http:www.w3.org/ns/oa#serializedBy.
|
void |
setTarget(Target target)
Sets http:www.w3.org/ns/oa#hasTarget.
|
String |
toString() |
getNTriples, getObjectConnection, getResource, getResourceAsString, setResource, setResourceAsStringpublic Body getBody()
public void setBody(Body body)
body - New value of http:www.w3.orgnsoa#hasBody.public Target getTarget()
public void setTarget(Target target)
target - New value of http:www.w3.org/ns/oa#hasTarget.public Motivation getMotivatedBy()
public void setMotivatedBy(Motivation motivatedBy)
motivatedBy - New value of http:www.w3.org/ns/oa#motivatedBy.public Agent getSerializedBy()
public void setSerializedBy(Agent serializedBy)
serializedBy - New value of http:www.w3.org/ns/oa#serializedBy.public Agent getAnnotatedBy()
public void setAnnotatedBy(Agent annotatedBy)
annotatedBy - New value of http:www.w3.org/ns/oa#annotatedBy.public String getSerializedAt()
public void setSerializedAt(String serializedAt)
serializedAt - New value of http:www.w3.org/ns/oa#serializedAt.public String getAnnotatedAt()
public void setAnnotatedAt(String annotatedAt)
annotatedAt - New value of http:www.w3.org/ns/oa#annotatedAt.Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.