|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.ecs.grimoires.server.store.ModelChanges
A temporary store to record all the changes made to be made to the registry model. The store contains two temporary model: one for the statements that are to be added, one for the statements that are to be removed. Clients should use getAdditionsModel () and getRemovalsModel () to add or otherwise manipulate these, then commit () to make the changes to the registry model.
| Constructor Summary | |
ModelChanges(Configuration configuration)
Creates a new instance of ModelChanges |
|
| Method Summary | |
void |
commit()
Remove the triples in the removals model from the given model, then add all the triples in the additions model. |
com.hp.hpl.jena.rdf.model.Model |
getAdditionsModel()
Returns the model to which new statements should be added. |
com.hp.hpl.jena.rdf.model.Model |
getRemovalsModel()
Returns the model to which statements to be removed should be added. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModelChanges(Configuration configuration)
| Method Detail |
public void commit()
public com.hp.hpl.jena.rdf.model.Model getAdditionsModel()
public com.hp.hpl.jena.rdf.model.Model getRemovalsModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||