public class Annotation extends Object implements org.openrdf.repository.object.RDFObject
| 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.
|
org.openrdf.repository.object.ObjectConnection |
getObjectConnection()
The current
ObjectConnection this object is atached to. |
org.openrdf.model.Resource |
getResource()
Getter for the unique identifier.
|
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 |
setResource(org.openrdf.model.Resource resource)
Setter for the unique identifier.
|
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() |
public org.openrdf.repository.object.ObjectConnection getObjectConnection()
ObjectConnection this object is atached to. Will be implemented by the proxy object.getObjectConnection in interface org.openrdf.repository.object.RDFObjectpublic org.openrdf.model.Resource getResource()
getResource in interface org.openrdf.repository.object.RDFObjectpublic void setResource(org.openrdf.model.Resource resource)
resource - the unique identifier.public 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.