2009/1/12 Niclas Hedhman <[email protected]>

> On Mon, Jan 12, 2009 at 3:55 PM, Stuart McCulloch <[email protected]>
> wrote:
> > 2009/1/12 Niclas Hedhman <[email protected]>
> >>
> >> Gang,
> >>
> >> I would like to call an "Address" a value, but it contains reference
> >> to both a City and a Country, which I definitely would like to see as
> >> entities.
> >
> > just wondering what the use-case is for making it a Value instead of an
> > Entity...
>
> Well, I would like to turn the question around. For me Value is the
> default choice, and compelling reason should exist to make it into an
> Entity.
>

certainly, but there are domains where you'd want address as an entity...
hence the use-case :)

wrt. the other question, it would make sense to let values reference
entities via associations
[ value vs. entity -
http://tech.groups.yahoo.com/group/domaindrivendesign/message/6290 ]

Cheers
> Niclas
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>

-- 
Cheers, Stuart
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to