On 8/20/11 14:51 , Niclas Hedhman wrote:
On Sat, Aug 20, 2011 at 2:50 PM, Niclas Hedhman<[email protected]> wrote:
On Fri, Aug 19, 2011 at 4:53 PM, Rickard Öberg<[email protected]> wrote:
Would it be ok to extend this, so that simply accessing foo() marks it as
@UseDefaults?
I.e.:
module.forMixin(SomeType.class).declareDefaults().foo();
-> Use defaults for foo()
Good idea!
And for non-optional object properties, creation would fail if not
setting a value, right?
Yup, this just replaces @UseDefaults, nothing more.
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev