On Tue, 08 Feb 2011 10:21:40 +0100, Emmanuel Bernard
<emmanuel(a)hibernate.org> wrote:
Let me summarize:
- BD extends TD
- BD#getConstrainedMethod() returns constraints getters and methods (*)
- BD#isBeanConstrained() does not change contract
(*) it's the logical approach but I feel like it might be inconvenient.
why would it be inconvenient?
> For HV 4.2 we could also do the following:
>
> TypeDescriptor extends ElementDescriptor {
>
> boolean isTypeConstrained();
> Set<MethodDescriptor> getConstrainedMethods();
> MethodDescriptor getConstraintsForMethod(Method method);
>
> getBeanDescriptor();
> }
+1