Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.foundation
Interface SmartMapReference

All Known Implementing Classes:
  com.beasys.commerce.foundation.plugin.bmp.BMPBelongingSmartMapReference, PersistenceHelper.DefaultSmartMapReference

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
`Iterator` | `cursor()` Get an iterator of the Map's keys
`Map` | `getMap()` Get the wrapped map
`void` | `setMap(Map collection)` Set the entire map

Method Detail

### cursor

    public Iterator cursor()

  Get an iterator of the Map's keys

  Returns:
    an iterator of the Map's keys

### getMap

    public Map getMap()

  Get the wrapped map

  Returns:
    the Map contained in the wrapper

### setMap

    public void setMap(Map collection)

  Set the entire map

  Parameters:
    `collection` - the Map to wrap

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved