public interface ModelAddRemove extends ClosableIterable<Statement>, ModelWriter, Lockable
| Modifier and Type | Method and Description |
|---|---|
Diff |
getDiff(Iterator<? extends Statement> statements) |
void |
removeAll()
Removes all statements from this model.
|
void |
removeAll(Iterator<? extends Statement> statements)
Removes all statements contained in 'other' from this model =
'difference'
|
void |
removeStatement(Resource subject,
URI predicate,
Node object)
remove a (subject, property ,object)-statement from the model
|
void |
removeStatement(Resource subject,
URI predicate,
String literal) |
void |
removeStatement(Resource subject,
URI predicate,
String literal,
String languageTag)
remove a (subject, property ,literal, language tag)-statement from the
model
|
void |
removeStatement(Resource subject,
URI predicate,
String literal,
URI datatypeURI)
remove a (subject, property ,literal, datatype)-statement from the model
datatype often is an uri for a xml schema datatype (xsd)
|
void |
removeStatement(Statement statement)
remove a rdf2go-statement from the model
|
void |
removeStatement(String subjectURIString,
URI predicate,
String literal) |
void |
removeStatement(String subjectURIString,
URI predicate,
String literal,
String languageTag)
remove a (subject, property ,literal, language tag)-statement from the
model
|
void |
removeStatement(String subjectURIString,
URI predicate,
String literal,
URI datatypeURI)
remove a (subject, property ,literal, datatype)-statement from the model
datatype often is an uri for a xml schema datatype (xsd)
|
void |
update(DiffReader diff)
Apply the changes given by this diff
|
iteratorforEach, spliteratoraddAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatementvoid update(DiffReader diff) throws ModelRuntimeException
diff - ModelRuntimeExceptionDiff getDiff(Iterator<? extends Statement> statements) throws ModelRuntimeException
statements - ModelRuntimeExceptionvoid removeAll()
throws ModelRuntimeException
ModelRuntimeExceptionvoid removeAll(Iterator<? extends Statement> statements) throws ModelRuntimeException
other - another RDF2GO modelModelRuntimeExceptionvoid removeStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
subject - URI or Object (= blankNode)predicate - object - URI or String (=plainLiteral) or BlankNode (=blankNode) or
TypedLiteral or LanguageTagLiteralModelRuntimeExceptionvoid removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException
ModelRuntimeExceptionvoid removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException
subject - predicate - literal - languageTag - ModelRuntimeExceptionvoid removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
subject - predicate - literal - datatypeURI - ModelRuntimeExceptionvoid removeStatement(Statement statement) throws ModelRuntimeException
statement - ModelRuntimeExceptionvoid removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException
ModelRuntimeExceptionvoid removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException
subject - predicate - literal - languageTag - ModelRuntimeExceptionvoid removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
subject - predicate - literal - datatypeURI - ModelRuntimeExceptionCopyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.