public class ResourceObject extends Object implements org.openrdf.repository.object.RDFObject
| Constructor and Description |
|---|
ResourceObject()
Default constructor
|
ResourceObject(String resource)
Constructor also setting the resource, which is supported by the corresponding String.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNTriples() |
org.openrdf.repository.object.ObjectConnection |
getObjectConnection()
The current
ObjectConnection this object is attached to. |
org.openrdf.model.Resource |
getResource()
Gets Unique identifier for the instance.
|
String |
getResourceAsString()
Gets new identifier for this instance as String.
|
void |
setResource(org.openrdf.model.Resource resource)
Sets new Unique identifier for the instance.
|
void |
setResourceAsString(String resourceAsString)
Sets new Unique identifier for the instance by a given String.
|
public ResourceObject()
public ResourceObject(String resource)
resource - String representation of the resource to set.public org.openrdf.repository.object.ObjectConnection getObjectConnection()
ObjectConnection this object is attached 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 - New value of Unique identifier for the instance..public void setResourceAsString(String resourceAsString)
resourceAsString - Textual representation of the new value of Unique identifier for the instance.public String getResourceAsString()
public String getNTriples()
Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.