net.sf.mmm.util.pojo.descriptor.base
Class PojoMap
java.lang.Object
net.sf.mmm.util.collection.base.AbstractSimpleMap<String,Object>
net.sf.mmm.util.pojo.descriptor.base.PojoMap
- All Implemented Interfaces:
- Map<String,Object>
public class PojoMap
- extends AbstractSimpleMap<String,Object>
This is represents a given Pojo as
Map where the key is a
property-name given as String.
- Since:
- 1.1.1
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pojoDescriptor
private final PojoDescriptor pojoDescriptor
- See Also:
get(Object)
pojo
private final Object pojo
- See Also:
get(Object)
keySet
private Set<String> keySet
- See Also:
keySet()
PojoMap
public PojoMap(PojoDescriptorBuilder pojoDescriptorBuilder,
Object pojo)
- The constructor.
- Parameters:
pojoDescriptorBuilder - is the PojoDescriptorBuilder to use.pojo - the Pojo to represent as
Map.
get
public Object get(Object key)
-
keySet
public Set<String> keySet()
-
- Specified by:
keySet in interface Map<String,Object>- Overrides:
keySet in class AbstractSimpleMap<String,Object>
Copyright © 2001-2010 mmm-Team. All Rights Reserved.