Class ToManyList<E>

java.lang.Object
org.apache.cayenne.access.ToManyHolder<E>
org.apache.cayenne.access.ToManyList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>

public class ToManyList<E> extends ToManyHolder<E> implements List<E>
A list that holds objects for to-many relationships, lazily resolved on first access. All operations, except for resolving the list from DB, are not synchronized. The safest way to implement custom synchronization is to synchronize on parent ObjectStore.