|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModelAddRemove
Can remove statements and apply diffs in one atomic operation.
| Method Summary | |
|---|---|
Diff |
getDiff(java.util.Iterator<? extends Statement> statements)
|
void |
removeAll()
Removes all statements from this model. |
void |
removeAll(java.util.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,
java.lang.String literal)
|
void |
removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
remove a (subject, property ,literal, language tag)-statement from the model |
void |
removeStatement(Resource subject,
URI predicate,
java.lang.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(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal)
|
void |
removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
remove a (subject, property ,literal, language tag)-statement from the model |
void |
removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.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(Diff diff)
Deprecated. |
void |
update(DiffReader diff)
Apply the changes given by this diff |
| Methods inherited from interface org.ontoware.aifbcommons.collection.ClosableIterable |
|---|
iterator |
| Methods inherited from interface org.ontoware.rdf2go.model.ModelWriter |
|---|
addAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement |
| Methods inherited from interface org.ontoware.rdf2go.model.Lockable |
|---|
isLocked, lock, unlock |
| Method Detail |
|---|
void update(DiffReader diff)
throws ModelRuntimeException
diff -
ModelRuntimeException
@Deprecated
void update(Diff diff)
throws ModelRuntimeException
ModelRuntimeException
Diff getDiff(java.util.Iterator<? extends Statement> statements)
throws ModelRuntimeException
statements -
ModelRuntimeException
void removeAll()
throws ModelRuntimeException
ModelRuntimeException
void removeAll(java.util.Iterator<? extends Statement> statements)
throws ModelRuntimeException
other - another RDF2GO model
ModelRuntimeException
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 LanguageTagLiteral
ModelRuntimeException
void removeStatement(Resource subject,
URI predicate,
java.lang.String literal)
throws ModelRuntimeException
ModelRuntimeException
void removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
throws ModelRuntimeException
subject - predicate - literal - languageTag -
ModelRuntimeException
void removeStatement(Resource subject,
URI predicate,
java.lang.String literal,
URI datatypeURI)
throws ModelRuntimeException
subject - predicate - literal - datatypeURI -
ModelRuntimeException
void removeStatement(Statement statement)
throws ModelRuntimeException
statement -
ModelRuntimeException
void removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal)
throws ModelRuntimeException
ModelRuntimeException
void removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
java.lang.String languageTag)
throws ModelRuntimeException
subject - predicate - literal - languageTag -
ModelRuntimeException
void removeStatement(java.lang.String subjectURIString,
URI predicate,
java.lang.String literal,
URI datatypeURI)
throws ModelRuntimeException
subject - predicate - literal - datatypeURI -
ModelRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||