mondrian.util
Class BeanMap

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by mondrian.util.BeanMap
All Implemented Interfaces:
Map<String,Object>

public class BeanMap
extends AbstractMap<String,Object>

View of an object as a map. Each attribute name is an key, and the value of the attribute is the value.

Currently only returns public fields, not methods.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
BeanMap(Object o)
          Creates a map view onto an object.
 
Method Summary
 Set<Map.Entry<String,Object>> entrySet()
           
static String xxx(Object o)
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanMap

public BeanMap(Object o)
Creates a map view onto an object.

Parameters:
o - Object
Method Detail

entrySet

public Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>
Specified by:
entrySet in class AbstractMap<String,Object>

xxx

public static String xxx(Object o)

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads