com.ge.grc.acuity.actions.mapping
Class CandleBarBoxMap
java.lang.Object
com.ge.grc.acuity.actions.mapping.RowAsXMap
com.ge.grc.acuity.actions.mapping.CandleBarBoxMap
- All Implemented Interfaces:
- ResultSetMappingFunction
- public class CandleBarBoxMap
- extends RowAsXMap
Generic dataseries mapping function that creates a candle dataseries
using the row order of the argument ResultSet +-
a width value as the xMin, xMax values for the dataseries.
The width of the candle is specified from the parameters
Map value for the key=candleWidth, if it exists.
Otherwise the defaultCandleWidth is used.
To obtain yMin information for the dataseries, the parameters
Map must contain a value for the key=yMinColumn.
To obtain yMax information for the dataseries, the parameters
Map must contain a value for the key=yMaxColumn.
To obtain xMinLabel information for the dataseries, the parameters
Map must contain a value for the key=xMinColumn.
- Version:
- $Revision: 1.2 $ $Date: 2006/09/08 22:40:22 $
- Author:
- garbiras
|
Field Summary |
double |
defaultCandleWidth
The default width of the candle to be used if no custom width is specified |
|
Method Summary |
java.util.List[] |
process(java.sql.ResultSet rs,
java.util.Map parameters)
Processes a ResultSet according to the parameters specified in the argument Map |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultCandleWidth
public double defaultCandleWidth
- The default width of the candle to be used if no custom width is specified
CandleBarBoxMap
public CandleBarBoxMap()
process
public java.util.List[] process(java.sql.ResultSet rs,
java.util.Map parameters)
- Description copied from interface:
ResultSetMappingFunction
- Processes a
ResultSet according to the parameters specified in the argument Map
- Specified by:
process in interface ResultSetMappingFunction- Overrides:
process in class RowAsXMap