Your example uncovers that you are mixing up 2 different things
#1)
There are Objects that extend %RegisteredObject (or some derivate of it.
properties in these classes get automatically generated methods.
like the ....Get you @Eduard Lebedyuk wrote this related article.
Useful auto-generated methods
you find those properties also in the realted %Dictioary classes.
#2)
Your example is a %DynamicObject and something total different.
There is the JSON style object
but it has nothing to do with the classic object architecture
implemented in Caché and IRIS.
Mixing of methods between those 2 implementations is just not foreseen.
Example:
%DynamicObjeckts have an Iterartor. Unknown to %RegisteredObject.
and many more
- Log in to post comments
.png)