Hello,
you should do:
Entity Planet {
}
Entity Moon {
- @Planet planet;
}
Data handling is than more difficult but feasible.
Pavel
On Thu, Nov 27, 2008 at 2:30 PM, Steffen Stundzig
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> has somebody out there a solution for one2many?
>
> Regards
>
>
> Steffen Stundzig wrote:
>>
>> Hi,
>>
>> I think I've missed something, but how could I model a unidirectional
>> one2many assocation? e.g. 1 plant has several moons.
>>
>> 1.
>> Moon {}
>> Planet {
>> - Set<@Moon> moons
>> }
>> -> results in a many-to-many assocation
>>
>> 2.
>> Entity Planet {
>> - Set<@Moon> moons opposite planet;
>> }
>> Entity Moon {
>> - @Planet planet opposite moons;
>> }
>> -> is one2many but bidirectional
>>
>> There are other attempts?
>>
>
> --
> View this message in context:
> http://www.nabble.com/-sculptor--unidirectional-one2many-tp20646154s17564p20719318.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Fornax-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer