com.atlassian.crowd.util.persistence.hibernate.batch
Class TransactionGroup<T extends Serializable,E extends Serializable>

java.lang.Object
  extended by com.atlassian.crowd.util.persistence.hibernate.batch.TransactionGroup<T,E>
All Implemented Interfaces:
Serializable

public class TransactionGroup<T extends Serializable,E extends Serializable>
extends Object
implements Serializable

A group of objects that are to be committed in one transaction.

See Also:
Serialized Form

Constructor Summary
TransactionGroup(T primaryObject, Collection<? extends E> dependantObjects)
           
 
Method Summary
 boolean equals(Object o)
           
 Collection<? extends E> getDependantObjects()
           
 T getPrimaryObject()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionGroup

public TransactionGroup(T primaryObject,
                        Collection<? extends E> dependantObjects)
Method Detail

getPrimaryObject

public T getPrimaryObject()

getDependantObjects

public Collection<? extends E> getDependantObjects()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Atlassian. All Rights Reserved.