Thought I'd start a new thread for this question.

Right now we've decided upon:

@DomainService
@DomainObject, @DomainObjectLayout
@Property, @PropertyLayout
@Collection, @CollectionLayout
@Action, @ActionLayout
@Parameter, @ParameterLayout

However, the "Collection" annotation conflicts with java.util.Collection,
and I can foresee "Property" and "Action" as being quite common in domain
applications (Estatio has "Property" for example).

I therefore propose using "Domain" as a prefix:

@DomainService
@DomainObject, @DomainObjectLayout
@DomainProperty, @DomainPropertyLayout
@DomainCollection, @DomainCollectionLayout
@DomainAction, @DomainActionLayout
@DomainParameter, @DomainParameterLayout

I think this will make things even more grokkable and avoid naming
conflicts.

Any objections?

Thx
Dan

Reply via email to