Thank you guys for you responses. However neither of them satisfied
me, so I just looked into ui.core.js itself. Here is an excerpt:
...
_getData: function(key) {
return this.options[key];
},
_setData: function(key, value) {
this.options[key] = value;
...
},
...
In other words they just store and retrieve values to and from
this.options property. Very flat in fact. Hm...