Ooops:
two line change: gotta change FieldInfo.getReadMethodName()
too
-----Original Message-----
From: Chalker, Dean
Sent: Monday, 30 June 2003 12:32 PM
To: '[EMAIL PROTECTED]'
Subject: Suggestion: generate isX() methods for boolean typesHI 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);tomethod = new JMethod(jType, ((jType != JType.Boolean) ? "get" : "is") + mname);RegardsDean
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
