Associations

Hi there,

I’m pondering whether to start a module that does code generation for
maintaining consistent associations. Something along the lines:

class Foo
end

class Bar
end

Association.1toN “googles”, Foo, Bar

f = Foo.new
b = Bar.new
f.addGoogles( b )
=> b.getGoogles() == f

Does anybody think this is a good idea? Is there something already?
(Didn’t find anything on RAA)

Regards

robert

Does anybody think this is a good idea? Is there something already?
(Didn’t find anything on RAA)

this, combined with constraints and some itelligent errors, could be very
usefull for modeling simple OR dbs in PStores. i did something really
trivial similar to this and found it usefull.

-a

···

On Mon, 3 Mar 2003, Robert Klemme wrote:

Regards

robert

Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================

“ahoward” ahoward@fsl.noaa.gov schrieb im Newsbeitrag
news:Pine.LNX.4.53.0303031748260.30033@eli.fsl.noaa.gov

···

On Mon, 3 Mar 2003, Robert Klemme wrote:

Does anybody think this is a good idea? Is there something already?
(Didn’t find anything on RAA)

this, combined with constraints and some itelligent errors, could be very
usefull for modeling simple OR dbs in PStores. i did something really
trivial similar to this and found it usefull.

Then maybe we throw it together?

Regards

robert