public interface Model extends ModelValueFactory, ModelAddRemove, ModelRemovePatterns, QueryableModel, ModelIO, Commitable, ReificationSupport, NamespaceSupport
| Modifier and Type | Method and Description |
|---|---|
void |
addModel(Model model)
Adds a complete
Model to this Model. |
void |
close()
Close connection to defined, underlying implementation.
|
void |
dump()
Dumps the whole content of the model via System.out
|
URI |
getContextURI() |
Object |
getProperty(URI propertyURI) |
Object |
getUnderlyingModelImplementation() |
boolean |
isEmpty() |
boolean |
isIsomorphicWith(Model other)
Two models can be equal even if they do not contain the same statements.
|
boolean |
isOpen() |
Model |
open()
Open connection to defined, underlying implementation
|
void |
setProperty(URI propertyURI,
Object value)
Add an arbitrary runtime property, this will not be persisted and is only
available at runtime.
|
long |
size()
For plain models without any inference, this is the exact number of
explicit statements.
|
createBlankNode, createBlankNode, createDatatypeLiteral, createLanguageTagLiteral, createPlainLiteral, createStatement, createURI, isValidURI, newRandomUniqueURIremoveStatements, removeStatementsgetDiff, removeAll, removeAll, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, updateiteratorforEach, spliteratoraddAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatementqueryConstruct, querySelect, sparqlAsk, sparqlConstruct, sparqlDescribe, sparqlSelectcontains, contains, contains, countStatements, createTriplePattern, findStatements, findStatementsreadFrom, readFrom, readFrom, readFrom, readFrom, readFrom, serialize, writeTo, writeTo, writeTo, writeTocommit, setAutocommitaddReificationOf, addReificationOf, deleteReification, getAllReificationsOf, hasReificationsgetNamespace, getNamespaces, removeNamespace, setNamespaceURI getContextURI()
Model open()
void close()
boolean isOpen()
long size() throws ModelRuntimeException
ModelRuntimeExceptionboolean isEmpty()
void addModel(Model model) throws ModelRuntimeException
Model to this Model. The context URI of the other
model is ignored, if present.
Note: this might be faster than addAll( model.iterator() );model - ModelRuntimeException - if any internal (I/O related) exception
occursObject getUnderlyingModelImplementation()
void setProperty(URI propertyURI, Object value)
propertyURI - value - Object getProperty(URI propertyURI)
propertyURI - void dump()
boolean isIsomorphicWith(Model other)
other - Copyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.