Provides a light weight DynaBean facade to a Map with lazy map/list processing.
Its a light weight DynaBean implementation because there is no actual DynaClass associated with this DynaBean - in fact it implements the DynaClass interface itself providing pseudo DynaClass behaviour from the actual values stored in the Map.
As well providing rhe standard DynaBean access to the Map's properties this class also provides the usual Lazy behaviour:
DynaClassLists or Arrays) are automatically instantiated and grown so that they are large enough to cater for the index being set.Restricted DynaClass
This class implements the MutableDynaClass interface. MutableDynaClass have a facility to restrict the DynaClass so that its properties cannot be modified. If the MutableDynaClass is restricted then calling any of the set() methods for a property which doesn't exist will result in a IllegalArgumentException being thrown.
| |