On Tue, Feb 17, 2009 at 3:37 PM, Niclas Hedhman <[email protected]> wrote: > Gang, > > Right now, ValueComposite MUST NOT have any methods that are not > Property methods. > > I think this goes against the intention of both the DDD book, as well > as many papers written about the Power of Values, and I see no reason > why we should have such restriction.
To give a very, very basic example of a ValueObject; java.lang.String which is a "dumb container of byte[]", but still have 50 methods operating on that byte[]. Cheers Niclas -- http://www.qi4j.org - New Energy for Java _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

