public final class MapBeanPropertyMap extends AbstractMap<String,Property<?>> implements PropertyMap
MapBean
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object obj) |
Set<Map.Entry<String,Property<?>>> |
entrySet() |
Map<String,Object> |
flatten()
Flattens the contents of this property map to a
Map . |
Property<?> |
get(Object obj) |
Set<String> |
keySet() |
static MapBeanPropertyMap |
of(MapBean bean)
Factory to create a property map avoiding duplicate generics.
|
int |
size() |
clear, clone, containsValue, equals, hashCode, isEmpty, put, putAll, remove, toString, values
public static MapBeanPropertyMap of(MapBean bean)
bean
- the bean, not nullpublic int size()
public boolean containsKey(Object obj)
containsKey
in interface Map<String,Property<?>>
containsKey
in class AbstractMap<String,Property<?>>
public Map<String,Object> flatten()
PropertyMap
Map
.
The returned map will contain all the properties from the bean with their actual values.
flatten
in interface PropertyMap
Copyright © 2007–2013 Joda.org. All rights reserved.