¡@

Home 

2014/10/16 ¤W¤È 12:09:26

jquery Programming Glossary: this.ftpflag

Post Nested Object to Spring MVC controller using JSON

http://stackoverflow.com/questions/5900840/post-nested-object-to-spring-mvc-controller-using-json

new Vendor public UIVendor Vendor vendor this.vendor vendor loadVendorAttributes private void loadVendorAttributes this.ftpFlag false this.ftpHost this.ftpPassword this.ftpPath this.ftpUser this.emails null for VendorAttributes a this.vendor.getVendorAttributes.. int flags a.getFlags if StringUtils.isBlank key StringUtils.isBlank value continue if key.equals ftpFlag this.ftpFlag BooleanUtils.toBoolean value else if key.equals ftpHost this.ftpHost value else if key.equals ftpPath this.ftpPath value.. int id this.vendor.getVendorId List VendorAttributes attrs this.vendor.getVendorAttributes attrs.clear if this.ftpFlag VendorAttributes flag new VendorAttributes flag.setVendorId id flag.setStatus A flag.setVendorFakey ftpFlag flag.setVendorFaValue..