org.hibernate.envers.synchronization.work
Class PersistentCollectionChangeWorkUnit.PersistentCollectionChangeWorkUnitId
java.lang.Object
org.hibernate.envers.synchronization.work.PersistentCollectionChangeWorkUnit.PersistentCollectionChangeWorkUnitId
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- PersistentCollectionChangeWorkUnit
public static class PersistentCollectionChangeWorkUnit.PersistentCollectionChangeWorkUnitId
- extends Object
- implements Serializable
A unique identifier for a collection work unit. Consists of an id of the owning entity and the name of
the entity plus the name of the field (the role). This is needed because such collections aren't entities
in the "normal" mapping, but they are entities for Envers.
- See Also:
- Serialized Form
PersistentCollectionChangeWorkUnit.PersistentCollectionChangeWorkUnitId
public PersistentCollectionChangeWorkUnit.PersistentCollectionChangeWorkUnitId(Serializable ownerId,
String role)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getOwnerId
public Serializable getOwnerId()
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.