On Thu, Jun 13, 2019, 04:35 Jeff Gray <j...@rogerthedog.com> wrote:

> This may not be a very object thing to say but if you have a relational
> database with tables for episode, track and play like in Christopher's
> diagram, you may not need a class to model play. As it is just a repository
> for a set of links


I suppose it depends on the requirements for the software. If you wanted to
know the start time (relative to the start of the episode) of the Play,
that would be an attribute for the class.

I might just have a method on an Episode class that calls
> the sql to return a collection of Tracks and vice versa.
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>

Reply via email to