java.data

Simplify use cases / split up to-java

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: