| org.ontoware.rdf2go.model.ModelAddRemove
All known Subclasses: org.ontoware.rdf2go.model.impl.ModelAddRemoveMemoryImpl, org.ontoware.rdf2go.model.impl.AbstractModelAddRemove,
Method Summary | |
Diff | getDiff(Iterator<? extends Statement> statements) | void | removeAll() Removes all statements from this model. | void | removeAll(Iterator<? extends Statement> statements) | void | removeStatement(Resource subject, URI predicate, Node object) | void | removeStatement(Resource subject, URI predicate, String literal) | void | removeStatement(Resource subject, URI predicate, String literal, String languageTag) | void | removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) | void | removeStatement(Statement statement) | void | removeStatement(String subjectURIString, URI predicate, String literal) | void | removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) | void | removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) | void | update(DiffReader diff) Apply the changes given by this diff in one atomic operation
Implementations must check that all statements to be removed are still in
the Model. |
removeStatement | void removeStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException(Code) | | remove a (subject, property ,object)-statement from the model
Parameters: subject - URI or Object (= blankNode) Parameters: predicate - Parameters: object - URI or String (=plainLiteral) or BlankNode (=blankNode) orTypedLiteral or LanguageTagLiteral throws: ModelRuntimeException - |
removeStatement | void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code) | | remove a (subject, property ,literal, datatype)-statement from the model
datatype often is an uri for a xml schema datatype (xsd)
Parameters: subject - Parameters: predicate - Parameters: literal - Parameters: datatypeURI - throws: ModelRuntimeException - |
removeStatement | void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code) | | remove a (subject, property ,literal, language tag)-statement from the
model
Parameters: subject - Parameters: predicate - Parameters: literal - Parameters: languageTag - throws: ModelRuntimeException - |
removeStatement | void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code) | | remove a (subject, property ,literal, datatype)-statement from the model
datatype often is an uri for a xml schema datatype (xsd)
Parameters: subject - Parameters: predicate - Parameters: literal - Parameters: datatypeURI - throws: ModelRuntimeException - |
update | void update(DiffReader diff) throws ModelRuntimeException(Code) | | Apply the changes given by this diff in one atomic operation
Implementations must check that all statements to be removed are still in
the Model. Otherwise an exception is thrown.
First all triples to be removed are removed, then triples to be added are added.
Parameters: diff - throws: ModelRuntimeException - |
|
|