org.joda.beans
Interface PropertyMap

All Superinterfaces:
Map<String,Property<?>>
All Known Implementing Classes:
BasicPropertyMap

Deprecated. Use BasicPropertyMap.of(bean) or JodaBeanUtils.flatten(bean)

@Deprecated
public interface PropertyMap
extends Map<String,Property<?>>

A map of properties that is linked to a specific bean.

For a JavaBean, this will ultimately wrap get/set method pairs. Alternate implementations may perform any logic to obtain the value.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Map<String,Object> flatten()
          Deprecated. Flattens the contents of this property map to a Map.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

flatten

Map<String,Object> flatten()
Deprecated. 
Flattens the contents of this property map to a Map.

The returned map will contain all the properties from the bean with their actual values.

Returns:
the unmodifiable map of property name to value, not null


Copyright © 2007–2017 Joda.org. All rights reserved.