Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface org.exolab.castor.persist.TxSynchronizable
committed, rolledback
-
-