<< Back to previous view

[JDATA-3] Simplify use cases / split up to-java Created: 03/Sep/13  Updated: 03/Sep/13

Status: Open
Project: java.data
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Herwig Hochleitner Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Issues with a single compound to-java method

The common to-java implementation for [Object Map], hard codes:

  • no constructor args
  • setters with java bean convention
    Often times, classes need special treatment during construction. E.g. if the constructor(s) take parameters, or the setters are non-standard.
    The to-java method can be specialized to achive that, however, at this point one is bound to reimplementing (or pasting) parts from java.data source, since all the helpers in java.data are private.

Proposed Enhancements

  • API to call a bunch of setters a la carte
  • a well known keyword :java.data/constructor to pass constructor args
  • other functionality might be made public, if it's useful in its own right

Generated at Tue Oct 21 05:54:36 CDT 2014 using JIRA 4.4#649-r158309.