ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Warner <swar...@adcc.com>
Subject Abator - option for generating propert change event code
Date Fri, 03 Nov 2006 21:00:35 GMT

Can an option be added to the javaModelGenerator that will generate the 
code for property change events in the generated setters?
For example:
    public void setName(String name) {
            String prev = getName();
            firePropertyChange("name", prev, name);

and then also support for vetoeable property change events (I just 
thought of this)

We are going to start using a binding framework so this will be 
extremely useful.

Scott Warner

View raw message