[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [recommenders-dev] Mapping ProposalKind to CompletionEvent
- From: Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx>
- Date: Mon, 27 May 2013 09:18:30 +0200
- Delivered-to: email@example.com
- Organization: Codetrails
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
> it is possible to find the corresponding CompletionEvent to a ProposalKind?
> example: StatisticsPreferencePage#appendNumberOfCompletionsByCompletionKind
> At line 246 I have only the ProposalKind and need the corresponding
Please tell us what you are trying to accomplish. What should this
mapping be used for? Often we can give you a better answer if we know
what you are really trying to accomplish.
As far as your original question goes: No, you cannot map from the
ProposalKind enum to a concrete CompletionEvent; after all, there is a
1-to-n relation ship between ProposalKind and CompletionEvents. In fact,
it's very likely that, say, multiple CompletioEvents have a kind of
Hope this helps.
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940