Top Description Methods
org.eclipse.persistence.sessions.changesets

public Interface UnitOfWorkChangeSet

Known Direct Implementers
org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet
Imports
java.util.*

Purpose: 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

Modifier and TypeMethod and Description
public Map<K, V>

Returns:

Map
getAllChangeSets
()

ADVANCED: This method returns a reference to the collection.

public Map<K, V>

Returns:

Map
getDeletedObjects
()

ADVANCED: This method returns the reference to the deleted objects from the changeSet

public ObjectChangeSet

Returns:

org.eclipse.persistence.sessions.changesets.ObjectChangeSet the changeSet that represents a particular clone
getObjectChangeSetForClone
(Object clone)

ADVANCED: Get ChangeSet for a particular clone

public Object

Returns:

Object the clone represented by the changeSet
getUOWCloneForObjectChangeSet
(ObjectChangeSet changeSet)

ADVANCED: This method returns the Clone for a particular changeSet

public boolean

Returns:

boolean
hasChanges
()

ADVANCED: Returns true if the Unit Of Work change Set has changes

Method Detail

getAllChangeSetsback to summary
public Map<K, V> getAllChangeSets()

ADVANCED: This method returns a reference to the collection. Not All ChangeSets that Exist in this list may have changes

Returns:Map<K, V>

Map

getDeletedObjectsback to summary
public Map<K, V> getDeletedObjects()

ADVANCED: This method returns the reference to the deleted objects from the changeSet

Returns:Map<K, V>

Map

getObjectChangeSetForCloneback to summary
public ObjectChangeSet getObjectChangeSetForClone(Object clone)

ADVANCED: Get ChangeSet for a particular clone

Returns:ObjectChangeSet

org.eclipse.persistence.sessions.changesets.ObjectChangeSet the changeSet that represents a particular clone

getUOWCloneForObjectChangeSetback to summary
public Object getUOWCloneForObjectChangeSet(ObjectChangeSet changeSet)

ADVANCED: This method returns the Clone for a particular changeSet

Returns:Object

Object the clone represented by the changeSet

hasChangesback to summary
public boolean hasChanges()

ADVANCED: Returns true if the Unit Of Work change Set has changes

Returns:boolean

boolean