com.ge.grc.acuity.apvfplus.mapping
Class GreenYellowRedTableMap

java.lang.Object
  extended bycom.ge.grc.acuity.apvfplus.mapping.GreenYellowRedTableMap

public class GreenYellowRedTableMap
extends java.lang.Object

Generic dataseries mapping function that looks to see if the column's cells should be highlighted green, yellow, or red. Get the columns of the table that have values of hasColumn that are of type GreenYellowRedHighlightedColumn. For each of these, look for greenMin, greenMax, greenEqual, ...., and then see if the value of the cell meets any of these criteria. If so, transform the cell data to make the highlighting happen: cell data becomes Object[2] with [0] = value and [1] = name of function: cellRed, cellYellow, or cellGreen.

Version:
$Revision: 1.1 $ $Date: 2007/01/31 22:34:25 $
Author:
garbiras

Constructor Summary
GreenYellowRedTableMap()
           
 
Method Summary
 java.util.List[] process(AcuityController ac, java.util.List[] dataIn, java.util.Map parameters)
           
 java.util.List[] process(AcuityController ac, java.sql.ResultSet rs, java.util.Map parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreenYellowRedTableMap

public GreenYellowRedTableMap()
Method Detail

process

public java.util.List[] process(AcuityController ac,
                                java.util.List[] dataIn,
                                java.util.Map parameters)

process

public java.util.List[] process(AcuityController ac,
                                java.sql.ResultSet rs,
                                java.util.Map parameters)
                         throws AcuityException
Throws:
AcuityException