Re: OO and relation "impedance mismatch"

From: Ja Lar <ingen_at_mail.her>
Date: Thu, 7 Oct 2004 19:12:44 +0200
Message-ID: <41657914$0$251$edfadb0f_at_dread11.news.tele.dk>


"Alfredo Novoa" <alfredo_at_ncs.es> ...
> "Ja Lar" <jalar_at_nomail.com> ...:
>
>>How would you represent a relation as an object?
>
> Something like:
>
> new Relation(
> new Tuple(new Value("A", 1), new Value("B", "a")),
> new Tuple(new Value("A", 2), new Value("B", "b")),
> new Tuple(new Value("A", 3), new Value("B", "c"))
> );
>
>>Please give an example, and clarify what is the class of such an object.
>
> The class would be a class that is the set of all the possible
> relation values.

OK. Conforming to TTM, ie. without one great blunder :-) Received on Thu Oct 07 2004 - 19:12:44 CEST

Original text of this message