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

All Superinterfaces:
java.util.Collection<T>, java.lang.Iterable<T>, TxSynchronizable
All Known Implementing Classes:
LazyHashSet

public interface LazyCollection<T>
extends java.util.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
 java.util.List<T> getAddedEntitiesList()
           
 java.util.List<Identity> getIdsList()
           
 java.util.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

java.util.List<Identity> getIdsList()

getRemovedIdsList

java.util.List<Identity> getRemovedIdsList()

getAddedEntitiesList

java.util.List<T> getAddedEntitiesList()


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com