public abstract class ResourceObjectSupport extends Object implements ResourceObject
GET_CONNECTION, GET_RESOURCE| Constructor and Description |
|---|
ResourceObjectSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
org.openrdf.model.Resource |
getResource(ObjectMessage msg)
Gets Unique identifier for the instance.
|
String |
getResourceAsString()
Gets new identifier for this instance as String.
|
String |
getTriples(org.openrdf.rio.RDFFormat format)
Method returns a textual representation of the given ResourceObject in a supported serialisation format.
|
void |
setResource(org.openrdf.model.Resource resource) |
void |
setResourceAsString(String resourceAsString)
Sets new Unique identifier for the instance by a given String.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObjectConnection, getResourcepublic String getTriples(org.openrdf.rio.RDFFormat format)
getTriples in interface ResourceObjectformat - The format which should be printed.public void setResource(org.openrdf.model.Resource resource)
setResource in interface ResourceObjectpublic org.openrdf.model.Resource getResource(ObjectMessage msg) throws Exception
Exceptionpublic void setResourceAsString(String resourceAsString)
setResourceAsString in interface ResourceObjectresourceAsString - Textual representation of the new value of Unique identifier for the instance.public String getResourceAsString()
getResourceAsString in interface ResourceObjectpublic void delete()
delete in interface ResourceObjectCopyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.