On 27 Feb 2015, at 12:51, Marcus Denker <marcus.denker@inria.fr> wrote:
On 27 Feb 2015, at 11:46, Jan van de Sandt <jvdsandt@gmail.com> wrote:
Hello,
Thanks for your suggestions. I have improved the naming and definition to this:
Object subclass: #SlotExampleMovie slots: { #name. #year. #director => ToOneRelationSlot inverse: #directedMovies inClass: #SlotExamplePerson. #actors => ToManyRelationSlot inverse: #actedInMovies inClass: #SlotExamplePerson } classVariables: { } category: 'SlotAssociations-Tests-Example'
Because it is for now just an example I haven't renamed the Slot classes yet.
Thanks! I will add the associations as examples to Pharo4 (today I think)
It took a bit longer as loading the examples revealed a bug, but now they are in Pharo4 update #534. Marcus