[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [recommenders-dev] Mapping ProposalKind to CompletionEvent
<< 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. >>
Okay, I have the following problem: at the method StatisticsPreferencePage#appendNumberOfCompletionsByCompletionKind (line 246),
I have "only" a ProposalKind enum and need some additional informations like sessionStarted, sessionEnded etc.
I have saw that the CompletionEvent object have these informations.
I thought my problem would be solved, if I could map the ProposalKind enum to a concrete CompletionEvent.
Am 27.05.2013 um 09:18 schrieb Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx>:
> Hello Timur,
>> 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
> Mobile: +49-170-811-3791
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> recommenders-dev mailing list