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
|
iterator
forEach, spliterator
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement
void update(DiffReader diff) throws ModelRuntimeException
diff
- ModelRuntimeException
Diff getDiff(Iterator<? extends Statement> statements) throws ModelRuntimeException
statements
- ModelRuntimeException
void removeAll() throws ModelRuntimeException
ModelRuntimeException
void removeAll(Iterator<? extends Statement> statements) throws ModelRuntimeException
other
- another RDF2GO modelModelRuntimeException
void 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 LanguageTagLiteralModelRuntimeException
void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException
ModelRuntimeException
void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException
subject
- predicate
- literal
- languageTag
- ModelRuntimeException
void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
subject
- predicate
- literal
- datatypeURI
- ModelRuntimeException
void removeStatement(Statement statement) throws ModelRuntimeException
statement
- ModelRuntimeException
void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException
ModelRuntimeException
void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException
subject
- predicate
- literal
- languageTag
- ModelRuntimeException
void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException
subject
- predicate
- literal
- datatypeURI
- ModelRuntimeException
Copyright © 2005–2018 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.