Bug 4353 - Worth definining int-type properties?
Worth definining int-type properties?
Status: CLOSED WONTFIX
Product: jbatch
Classification: Unclassified
Component: source
1
PC Windows
: P5 enhancement
: ---
Assigned To: cvignola
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-20 16:26 UTC by ScottKurz
Modified: 2013-01-16 17:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ScottKurz 2012-11-20 16:26:50 UTC
With only String properties, there will be a lot of boilerplate code converting to int/Integer... which isn't a huge deal, but would it be worth having something like:

JSL:
<property name="A" value="Aval" type="xsd:int"/>

mapping to Java;

  @BatchProperty Integer A;
Comment 1 cvignola 2012-12-06 22:34:34 UTC
It's a nice to have. There is room for helpful improvements in maintenance releases.  At this point we need to restrain ourselves to the essentials. Virtually anything that needs to be done can be done from a string property.