org.compass.core.converter.mapping.osem.collection
Interface LazyReferenceCollection

All Superinterfaces:
Collection, Iterable
All Known Implementing Classes:
LazyReferenceList, LazyReferenceSet

public interface LazyReferenceCollection
extends Collection

A collection that is lazy loaded from the search engine.

Author:
kimchy

Method Summary
 void addLazyEntry(LazyReferenceEntry entry)
          Internally used to initialize the lazy collection.
 boolean isFullyLoaded()
          Returns true if the collection is fully loaded from the index.
 void loadFully()
          Loads all the referneced objects into memory from the search engine.
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

loadFully

void loadFully()
Loads all the referneced objects into memory from the search engine.


isFullyLoaded

boolean isFullyLoaded()
Returns true if the collection is fully loaded from the index.


addLazyEntry

void addLazyEntry(LazyReferenceEntry entry)
Internally used to initialize the lazy collection.



Copyright (c) 2004-2008 The Compass Project.