net.sf.molae.bean
Class DefaultBeanStructure
java.lang.Object
|
+--net.sf.molae.bean.MapWithDefault
|
+--net.sf.molae.bean.MapBasedBeanStructure
|
+--net.sf.molae.bean.DefaultBeanStructure
- All Implemented Interfaces:
- BeanStructure, Serializable, Transformer
- public class DefaultBeanStructure
- extends MapBasedBeanStructure
Provides an implementation of the BeanStructure interface based on
WrappedKey.
- Since:
- 1.1
- See Also:
- Serialized Form
DefaultBeanStructure
public DefaultBeanStructure()
- Constructs a new DefaultBeanStructure.
newValue
protected Object newValue(Object key)
- Description copied from class:
MapWithDefault
- Factory method to create new values.
This method is called if a value is requested for a key,
that is not contained in the base map.
- Overrides:
newValue in class MapWithDefault
- Following copied from class:
net.sf.molae.bean.MapWithDefault
- Parameters:
key - key whose associated value is requested- Returns:
- a new entry for the specified key.