Back to project page NexusData.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project NexusData listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.dkharrat.nexusdata.core; /*from www.j a v a 2 s . c o m*/ /** * Represents a save request to a persistence store, containing all the objects that have been changed, either by * insertion, deletion, or updating, and are to be reflected in the persistence store. This request is sent by the * {@link com.github.dkharrat.nexusdata.core.ObjectContext} when a save is performed. */ public class SaveChangesRequest implements PersistentStoreRequest { private final ChangedObjectsSet changedObjects; SaveChangesRequest(ChangedObjectsSet changedObjects) { this.changedObjects = changedObjects; } /** * Returns all the objects that have been changed. * * @return Returns all the objects that need to be inserted */ public ChangedObjectsSet getChanges() { return changedObjects; } }