HI
all,
As a suggestion, how
about generating isX() methods for boolean fields rather than getX(), which is
the norm. This seems to be the industry standard.
Looks like a
one-line change. In FieldInfo.createAccessMethods(JClass), change the
line:
method = new JMethod(jType, "get"+mname);
to
method = new JMethod(jType, ((jType != JType.Boolean) ? "get" : "is") + mname);
Regards
Dean
|
intelli WHERE www.intelliwhere.com |
|
Dr. Dean
Chalker Senior Architect [EMAIL PROTECTED] IntelliWhere Division, Intergraph Corporation Australia Phone: 61-7-3510 8918 Fax: 61-7-3510 8901 |
