PUM, Gemstone and derived attributes (access paths)

Another feature of PUM is the possiblity to define derived attributes in a class.

Derived attributes are attributes, which are accessable in object A, but the value is defined in another object (object B), but there exist an access path from A to B via various associations over (perhaps) multiple objects.

These definitions can also be used in index definitions. Due to the cardinality of the associations you can be pretty sure if you get a value from that access path or nil (this knowledge is needed when defining an index).

This entry was posted in Smalltalk and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s