org.apache.cayenne.dataview
Class LookupCache

java.lang.Object
  extended by org.apache.cayenne.dataview.LookupCache

public class LookupCache
extends java.lang.Object

Since:
1.1
Author:
Andriy Shapochka

Constructor Summary
LookupCache()
           
 
Method Summary
 void cache(ObjEntityViewField field, java.util.List dataObjects)
           
 void clear()
           
 java.lang.Object[] getCachedValues(ObjEntityViewField field)
           
 DataObject getDataObject(ObjEntityViewField field, java.lang.Object value)
           
 boolean removeFromCache(ObjEntityViewField field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupCache

public LookupCache()
Method Detail

cache

public void cache(ObjEntityViewField field,
                  java.util.List dataObjects)

clear

public void clear()

removeFromCache

public boolean removeFromCache(ObjEntityViewField field)

getCachedValues

public java.lang.Object[] getCachedValues(ObjEntityViewField field)

getDataObject

public DataObject getDataObject(ObjEntityViewField field,
                                java.lang.Object value)


Copyright © 2001-2006 Apache.org All Rights Reserved.