Class MapValueLoader

java.lang.Object
net.sf.basedb.clients.web.plugins.MapValueLoader
All Implemented Interfaces:
DataLoader<BasicItem>

public class MapValueLoader
extends Object
implements DataLoader<BasicItem>
Data loader implementation that load values from a map collection. The key of the map must be specified when constructing the data loader.
Since:
3.8
Author:
Nicklas
  • Field Details

  • Constructor Details

    • MapValueLoader

      public MapValueLoader​(Metadata.PropertyPath<BasicItem,​Map<?,​?>> propertyPath, Object mapKey)
      Load values from a map.
      Parameters:
      propertyPath - Property path to the map collection
      mapKey - The key to use when loading the value
  • Method Details