db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Schmiedehausen <...@intermeta.de>
Subject [PATCH TORQUE-3.1.1] Name Boolean/boolan getters correctly for generated objects
Date Fri, 20 Aug 2004 23:53:05 GMT
Hi Scott, 

I know that you are close to the 3.1.1 release of Torque but I would
really want you to consider the attached patch. It changes the
generation of the Getter and Setter methods in the Object.vm and Peer.vm
to ask the Column. The column object gets two additional getters, called
getGetterName() and getSetterName(). The getSetterName() just returns
"set$Property", but the getGetterName() returns "is$property" if the
property value is either boolean or a java.lang.Boolean.

This is in accordance to the Sun Java Beans rules and I would really
like to see this patch in the 3.1.1 release.

	Regards
		Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
RHCE - Consultant - Jakarta Turbine Development  - hero for hire

"Fighting for one's political stand is an honourable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems." 
                       --Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"


Mime
View raw message