public class GenericChangeSet extends Object implements ChangeSet
ChangeSet implemented as a wrapper on top of GraphDiff of unspecified
nature.
Synchronization note: While this class is thread safe, but is not generally intended for use in multi-threaded manner. It is common to use it within a single transaction thread.
OBJECT_ID_PROPERTY_NAME| Constructor and Description |
|---|
GenericChangeSet(GraphDiff diff) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PropertyChange> |
getChanges(Persistent object)
Returns a map of changes for a given object in its context, keyed by property name.
|
public GenericChangeSet(GraphDiff diff)
public Map<String,PropertyChange> getChanges(Persistent object)
ChangeSetgetChanges in interface ChangeSetCopyright © 2001–2014 Apache Cayenne. All rights reserved.