Bug 122094 - @Transient annotation for boolean misplaced
Summary: @Transient annotation for boolean misplaced
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: JSR220orm (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jsr220orm.metadata.editor-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 08:33 EST by Robert CLA
Modified: 2005-12-26 08:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert CLA 2005-12-26 08:33:44 EST
If one wished to annotate a boolean attribute, when annotating method instead of field directly, one should annotate a method named per the Javabean convention "isXXX()".
On the other hand, the JSR220-ORM plugin insist that one puts the "@Transient" annotation on a method named "getXXX()".
One is not allowed to put a @Transient annotation on a method called "isXXX()" (if entered manually, the compiler reports an error)