2014-04-27

Key-value Coding in Java

I would like to introduce a guide to the key-value architecture of domain objects where their attributes are provided using objects called Keys only. The Key-value approach simplifies and accelerates the development of applications. Practical use is demonstrated in the Demo-Hotels project linked at the end of the original article. The chapter list follows:
  • Writing and reading values
  • Restoring default values
  • Shallow copy of an object
  • Validation attributes when writing
  • Composite Keys
  • Criterion as a condition model
  • Criterion for filtering collection
  • Collection sorting
  • Serialization of Keys
  • Import from CSV format

Short examples are based on the Ujorm library.

key-value-model

Link to the original article:
http://ujorm.org/sample/key-value.html