SmartMapReference Interface
- public interface SmartMapReference
An interface for classes that wrap a Map, and handle intelligent
persistence of the Map's contents; i.e., only making database
calls when necessary rather than updating the entire Map when
only a subset of it has changed, etc.
-
All Known Implementing Classes
-
BMPBelongingSmartMapReference
, PersistenceHelper.DefaultSmartMapReference
cursor() Method
public Iterator
cursor()
Get an iterator of the Map's keys
Returns
- an iterator of the Map's keys
getMap() Method
public Map
getMap()
Get the wrapped map
Returns
- the Map contained in the wrapper
setMap(Map) Method
public void setMap(Map
collection)
Set the entire map
Parameters
-
collection
- the Map to wrap