This handles advanced property processing with inheritance as used by
SimpleORM.
SPropertyMaps are essentially a hash map of SPropertys and their
correspondign values. Properties mainly describe SFields, such as
whether they are a primary key.
However, unlike basic Java properties SProperties support dynamic
inheritance of values from property list to another. In particular,
default values of user inteface objects can be placed on SFields and
inherited by UI objects.
Further, because the keys are SProperty objects, they can provide
intelligent default values based on calculations.
A SPropertyValue object simply stores a property and a value. They are used to make the SField definitions more elegant.
See SPropertyTest for an example of how they are used.
See the white paper for
information on how SimpeORM.org uses them.
Note that although these classes were writen for use by SimpleORM, they have no dependency on it.
|