Codegen: Fluent setters
-----------------------

                 Key: JIBX-266
                 URL: http://jira.codehaus.org/browse/JIBX-266
             Project: JiBX
          Issue Type: Improvement
            Reporter: Nigel Charman


Add option "fluent-setters" so that generated code has

    public Sender setCompany(String company) {
        this.company = company;
        return this;
    }

rather than:

    public void setCompany(String company) {
        this.company = company;
    }

Could also be something called "setter-returns-this" or "builder-style-setters" 
or "chained-setters"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to