RTC - Java API - how to get time code ?

Hi !
I would like to check time code of a workitem before saving with pre plugin.
I knew that time sheet info. is a kind of link to workitem. So I tried to get a TimeSheetEntry,
but I could not do it. How to get TimeSheetEntry object ?
Is there any sample source or advice about it ? Help me !
I would like to check time code of a workitem before saving with pre plugin.
I knew that time sheet info. is a kind of link to workitem. So I tried to get a TimeSheetEntry,
but I could not do it. How to get TimeSheetEntry object ?
Is there any sample source or advice about it ? Help me !