bike part reward : setting bean ID property automatically

Tom Zeller tzeller at dragonacea.biz
Fri Feb 14 10:19:56 EST 2014


>>> 1) (Channelling Ian) We need to add an interface to ComponentSupport
>>
>> Could you say more regarding why we need to add an interface to
>> ComponentSupport ?
>>
>> My assumption was the interface would be like
>> IdentifiableComponent, but replacing getId() with setId().
>
> I'm not sure what you're saying here, but for the avoidance of doubt I think there are a couple of obvious ways to invent NameableComponent (again, not a particular fan of the name):
>
> * As a peer to IdentifiableComponent, extending Component
>
> * As an extension to IdentifiableComponent, on the basis that being able to set a name you can't query is kind of useless

It was unclear to me what "add an interface to ComponentSupport"
meant, that's all.


More information about the dev mailing list