net.sf.mmm.util.pojo.path.base
Class PojoPathMap

java.lang.Object
  extended by net.sf.mmm.util.collection.base.AbstractSimpleMap<String,Object>
      extended by net.sf.mmm.util.pojo.path.base.PojoPathMap
All Implemented Interfaces:
Map<String,Object>

public class PojoPathMap
extends AbstractSimpleMap<String,Object>

This is represents a given Pojo as Map where the key is a PojoPath-String.

Since:
1.1.1
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
private  PojoPathContext context
           
private  PojoPathMode mode
           
private  Object pojo
           
private  PojoPathNavigator pojoPathNavigator
           
 
Constructor Summary
PojoPathMap(PojoPathNavigator pojoPathNavigator, Object pojo)
          The constructor.
PojoPathMap(PojoPathNavigator pojoPathNavigator, Object pojo, PojoPathContext context)
          The constructor.
PojoPathMap(PojoPathNavigator pojoPathNavigator, Object pojo, PojoPathContext context, PojoPathMode mode)
          The constructor.
 
Method Summary
 Object get(Object key)
          
 
Methods inherited from class net.sf.mmm.util.collection.base.AbstractSimpleMap
clear, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

pojoPathNavigator

private final PojoPathNavigator pojoPathNavigator
See Also:
get(Object)

pojo

private final Object pojo
See Also:
get(Object)

mode

private final PojoPathMode mode
See Also:
get(Object)

context

private final PojoPathContext context
See Also:
get(Object)
Constructor Detail

PojoPathMap

public PojoPathMap(PojoPathNavigator pojoPathNavigator,
                   Object pojo)
The constructor.

Parameters:
pojoPathNavigator - the PojoPathNavigator to use.
pojo - the Pojo to represent as Map.

PojoPathMap

public PojoPathMap(PojoPathNavigator pojoPathNavigator,
                   Object pojo,
                   PojoPathContext context)
The constructor.

Parameters:
pojoPathNavigator - the PojoPathNavigator to use.
pojo - the Pojo to represent as Map.
context - is the PojoPathContext.

PojoPathMap

public PojoPathMap(PojoPathNavigator pojoPathNavigator,
                   Object pojo,
                   PojoPathContext context,
                   PojoPathMode mode)
The constructor.

Parameters:
pojoPathNavigator - the PojoPathNavigator to use.
pojo - the Pojo to represent as Map.
context - is the PojoPathContext.
mode - is the PojoPathMode.
Method Detail

get

public Object get(Object key)



Copyright © 2001-2010 mmm-Team. All Rights Reserved.