Class PersistentCollectionChangeData
- java.lang.Object
-
- org.hibernate.envers.internal.entities.mapper.PersistentCollectionChangeData
-
public class PersistentCollectionChangeData extends Object
Data describing the change of a single object in a persistent collection (when the object was added, removed or modified in the collection).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getChangedElement()
Object
getChangedElementIndex()
Map<String,Object>
getData()
String
getEntityName()
-
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Returns:
- Name of the (middle) entity that holds the collection data.
-
getChangedElement
public Object getChangedElement()
- Returns:
- The affected element, which was changed (added, removed, modified) in the collection.
-
getChangedElementIndex
public Object getChangedElementIndex()
- Returns:
- Index of the affected element, or
null
if the collection isn't indexed.
-
-