Package net.sf.japaki.beans

This package contains a special bean framework based on properties and general beans.

See:
          Description

Interface Summary
GenericBean<B extends GenericBean<B>> A generic bean provides a list of all its properties and hence allows generic implementations of methods that act on all properties.
KeyValueBean<K,V> A bean with two properties: key and value.
Property<B,V> A property contains information about how to store and retrieve a data item from another object - the bean.
SinglePropertyBean<V> A bean with a single property.
 

Class Summary
AbstractGenericBean<B extends GenericBean<B>> Since a "normal" bean would require a new class for each of its properties, a generic bean provides a getValue and a setValue method to access all its properties with an instance of GenericProperty.
AbstractGenericBean.GenericProperty<B extends AbstractGenericBean,V> Property implementation for AbstractGenericBean based on getValue and setValue.
ArrayProperty<B> Maps the contents of an array to a list of properties.
ConstantProperty<V> A property that always returns the same value instead of retrieving it from a bean.
KeyValuePair<K,V> A bean with two properties.
MapItemBean<K,V> A bean with a single property that is stored in an underlying map at a fixed key.
Properties Contains some standard properties.
ReflectionProperty<B,V> Property based on methods.
SelfProperty<V,B extends V> The property that returns the given bean as the value.
SimpleBean<V> A bean with a single property.
TransformProperty<B,S,V> A property that transforms a value after reading it from the bean.
ValuePropertyTransformer<B,S,T> Property transformer based on a transformer for the values.
 

Exception Summary
NoSuchPropertyException Signals that the bean does not have a property of a specified name.
 

Package net.sf.japaki.beans Description

This package contains a special bean framework based on properties and general beans.

Since:
1.0