Package | Description |
---|---|
org.ontoware.rdfreactor.runtime |
Generic methods for mapping object-oriented world to RDF triple world.
|
Modifier and Type | Class and Description |
---|---|
class |
CardinalityException
A CardinalityException is thrown e.g.
|
class |
ConversionException
Thrown if a type conversion was not possible.
|
class |
ConvertingClosableIterator<T>
A
ClosableIterator that uses the registered type converters to turn
an iterator over RDF2Go Node objects to a type |
class |
ExtractingIterator
|
interface |
INodeConverter<T>
Can convert an RDF2Go node (or null) to the java type T
|
interface |
Mappable<K,V>
|
class |
ObjectResultIterator<T>
Deprecated.
use
ConvertingClosableIterator instead. It can do the
same and is also closable. |
interface |
ResourceEntity
instances of this interfaces can be used as rdf-objects in the RDFReactor
framework
|
Modifier and Type | Method and Description |
---|---|
static void |
BridgeBase.add(Model model,
Resource subject,
URI property,
Object object)
Add a value to a property of a resource.
|
static boolean |
BridgeBase.containsGivenValue(Model model,
Resource resource,
URI propertyURI,
Object value)
Check if the resource identified by resourceID, has a property
identidified by propertyURI which has the given value among its values.
|
static void |
ResourceUtils.delete(Model model,
Resource resource)
Delete a resource from the model, meaning: delete all (resource, *, *)
triples from the model
|
static Object[] |
BridgeBase.getAllInstances(Model model,
Class<?> javaClass)
Get all instances of the class in the model.
|
static Set<Object> |
BridgeBase.getAllValues_asSet(Model model,
Resource resource,
URI propertyURI,
Class<?> returnType)
Return a Set with all x matching (resourceObject, propertyURI, x) in the
given model.
|
static Object[] |
BridgeBase.getAllValues_Inverse(Model model,
URI propertyURI,
Node objectNode,
Class<?> returnType)
Get all resources having the given property and value.
|
static Object[] |
BridgeBase.getAllValues(Model model,
Resource resource,
URI propertyURI,
Class<?> returnType)
Get all values for the given resource and property.
|
static OOQueryResultTable |
BridgeBase.getSparqlSelect(Model model,
Map<String,Class<?>> returnTypes,
String sparqlSelectQuery)
Query the model with a SPARQL query.
|
static Object |
BridgeBase.getValue(Model model,
Resource resourceSubject,
URI propertyURI,
Class<?> returnType)
Return the first x with matching statement (resourceObject, propertyURI,
x) from the given model.
|
static Object |
RDFReactorRuntime.node2javatype(Model model,
Node n,
Class<?> returnType)
Convert RDF entities to ReactorBaseNamed and primitive java values.
|
Copyright © 2005–2017 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.