Module org.eclipse.persistence.core
Interface UnitOfWorkChangeSet
-
- All Known Implementing Classes:
UnitOfWorkChangeSet
public interface UnitOfWorkChangeSetPurpose: To Provide API to the UnitOfWorkChangeSet.
Description:The UnitOfWorkChangeSet contains all of the individual ObjectChangeSets. It is stored and used by the UnitOfWork
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MapgetAllChangeSets()ADVANCED: This method returns a reference to the collection.MapgetDeletedObjects()ADVANCED: This method returns the reference to the deleted objects from the changeSetObjectChangeSetgetObjectChangeSetForClone(Object clone)ADVANCED: Get ChangeSet for a particular cloneObjectgetUOWCloneForObjectChangeSet(ObjectChangeSet changeSet)ADVANCED: This method returns the Clone for a particular changeSetbooleanhasChanges()ADVANCED: Returns true if the Unit Of Work change Set has changes
-
-
-
Method Detail
-
getAllChangeSets
Map getAllChangeSets()
ADVANCED: This method returns a reference to the collection. Not All ChangeSets that Exist in this list may have changes- Returns:
- Map
-
getDeletedObjects
Map getDeletedObjects()
ADVANCED: This method returns the reference to the deleted objects from the changeSet- Returns:
- Map
-
getObjectChangeSetForClone
ObjectChangeSet getObjectChangeSetForClone(Object clone)
ADVANCED: Get ChangeSet for a particular clone- Returns:
- org.eclipse.persistence.sessions.changesets.ObjectChangeSet the changeSet that represents a particular clone
-
getUOWCloneForObjectChangeSet
Object getUOWCloneForObjectChangeSet(ObjectChangeSet changeSet)
ADVANCED: This method returns the Clone for a particular changeSet- Returns:
- Object the clone represented by the changeSet
-
hasChanges
boolean hasChanges()
ADVANCED: Returns true if the Unit Of Work change Set has changes- Returns:
- boolean
-
-