com.beasys.commerce.foundation
Interface SmartMapReference
- All Known Implementing Classes:
- PersistenceHelper.DefaultSmartMapReference, com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference
- 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.
Method Summary |
java.util.Iterator |
cursor()
Get an iterator of the Map's keys |
java.util.Map |
getMap()
Get the wrapped map |
void |
setMap(java.util.Map collection)
Set the entire map |
setMap
public void setMap(java.util.Map collection)
- Set the entire map
- Parameters:
collection
- the Map to wrap
getMap
public java.util.Map getMap()
- Get the wrapped map
- Returns:
- the Map contained in the wrapper
cursor
public java.util.Iterator cursor()
- Get an iterator of the Map's keys
- Returns:
- an iterator of the Map's keys
Copyright © 2001 BEA Systems, Inc. All Rights Reserved