velosurf.sql
Class MapDataAccessor

java.lang.Object
  |
  +--velosurf.sql.MapDataAccessor
All Implemented Interfaces:
DataAccessor

public class MapDataAccessor
extends java.lang.Object
implements DataAccessor

This class encapsulates a Map as a DataAccessor

Author:
Claude Brisson

Field Summary
protected  java.util.Map mInnerMap
          the wrapped Map
 
Constructor Summary
MapDataAccessor(java.util.Map inInnerMap)
          builds a new MapDataAccessor
 
Method Summary
 java.lang.Object get(java.lang.Object inKey)
          get the property named inKey in the wrapped Map
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mInnerMap

protected java.util.Map mInnerMap
the wrapped Map
Constructor Detail

MapDataAccessor

public MapDataAccessor(java.util.Map inInnerMap)
builds a new MapDataAccessor
Parameters:
inInnerMap - the Map object to encapsulate
Method Detail

get

public java.lang.Object get(java.lang.Object inKey)
get the property named inKey in the wrapped Map
Specified by:
get in interface DataAccessor
Parameters:
inKey - the name of the property
Returns:
the property value or null if not found
See Also:
DataAccessor.get(java.lang.Object)


ooOoo