Parameter Related Classes Tree
Geschrieben 2018. Versionen und Details können veraltet sein.

In mhu-lib there is a general attention to properties or attribute related objects. The implementation follows the philosophy that most things are attribute related and should be handled the same way. Properties and attributes are handled the same, not because they are the same but they have the same behavior.
First of all the IProperties class (since mhu-lib 3.3 a real interface) defines the basic behavior to set and get different value types. All java primitives are supported and the 'Object' type. The default implementation (e.g. MProperties) uses the getObject() variant and casts the object to the asked primitive by using the 'MCast' utilities. This simple structure is a flat properties store.
The 'ResourceNode' and 'WritableResourceNode' extends the structure to be a tree. With 'getNodes()' or 'getNode(key)' or 'getParent()' it is possible to traverse through the tree structure.
An interesting extension of 'WritableResourceNode' is 'IConfig' with a lot of implementations to load configuration information from different types of sources like XML, JSON and properties files or a memory only variant.
The 'CaoNode' from the Content Access Object implementation is also attribute based. The framework enables common access to different tree based content structures like filesystem. (It's currently recreated and not stable in later versions (mhu-lib 2.x) an EMC Documentum and Adobe AEM/CQ5 driver were also available.)