org.castor.persist.proxy
Interface LazyCollection<T>

All Superinterfaces:
Collection<T>, Iterable<T>, TxSynchronizable
All Known Implementing Classes:
LazyHashSet

public interface LazyCollection<T>
extends Collection<T>, TxSynchronizable

Lazy is a place holder interface to indicate that a data object or a Collection in a data object is an Lazy instance. In other word, values of the object is not stored in the object and the persistence storage will be accessed when the values are needed.

IllegalStateException maybe thrown if the object is accessed out of a transaction context.

Version:
$Revision$ $Date: 2009-07-13 17:22:43 (Mon, 13 Jul 2009) $
Author:
Thomas Yip, Ralf Joachim

Method Summary
 List<T> getAddedEntitiesList()
           
 List<Identity> getIdsList()
           
 List<Identity> getRemovedIdsList()
           
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface org.exolab.castor.persist.TxSynchronizable
committed, rolledback
 

Method Detail

getIdsList

List<Identity> getIdsList()

getRemovedIdsList

List<Identity> getRemovedIdsList()

getAddedEntitiesList

List<T> getAddedEntitiesList()


Copyright © 2011. All Rights Reserved.