com.instantbank.component.parameter.util
Class ParmCell

java.lang.Object
  |
  +--com.instantbank.component.parameter.util.ParmCell
All Implemented Interfaces:
java.io.Serializable

public class ParmCell
extends java.lang.Object
implements java.io.Serializable

Utility class allowing manipulation of parameters restriction.

Author:
InstantBank (Roberto Contreras ).
See Also:
Serialized Form

Field Summary
private  java.lang.String cellColor
          The color of a cell for a set of parameter points.
private  java.lang.String cellValue
          Value of the cell.
private  java.util.ArrayList setValues
          When parameterType == "set" this array contains Strings of the form "possibleValue[i]" + "," + "yes"|"no depending is possibleValue[i] is part (or not) of the set value at this cell.
private  java.lang.String smallCellColor
          The color of a small cell for a set of level parameter.
 
Constructor Summary
ParmCell(java.lang.String cellColor, java.lang.String cellValue, java.util.ArrayList setValues, java.lang.String smallCellColor)
          Constructor .
 
Method Summary
 java.lang.String getParmCellCellColor()
          Getter method for the color of a cell for each set of level parameter.
 java.lang.String getParmCellCellValue()
          Getter method for the value of the cell.
 java.util.ArrayList getParmCellSetValues()
          Getter method for the possible values of the cell when parameterType = set .
 java.lang.String getParmCellSmallCellColor()
          Getter method for the color of a small cell for each set of level parameter.
 void setParmCellCellColor(java.lang.String cellColor)
          Setter method for the color of a cell for each set of level parameter.
 void setParmCellSmallCellColor(java.lang.String smallCellColor)
          Setter method for the color of a small cell for each set of level parameter.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

cellColor

private java.lang.String cellColor
The color of a cell for a set of parameter points. value: {0 = undefined | 1= first definition found | 2 = defined}

cellValue

private java.lang.String cellValue
Value of the cell. It is never NULL. It can be 'undefined'.

setValues

private java.util.ArrayList setValues
When parameterType == "set" this array contains Strings of the form "possibleValue[i]" + "," + "yes"|"no depending is possibleValue[i] is part (or not) of the set value at this cell. Else this attribute is NULL

smallCellColor

private java.lang.String smallCellColor
The color of a small cell for a set of level parameter. value: {0 = OK | 1= defined in excluded combination | 2 = undefined in forced combination}
Constructor Detail

ParmCell

public ParmCell(java.lang.String cellColor,
                java.lang.String cellValue,
                java.util.ArrayList setValues,
                java.lang.String smallCellColor)
Constructor .

Parameters:
cellColor - Description of the Parameter
cellValue - Description of the Parameter
setValues - Description of the Parameter
smallCellColor - Description of the Parameter
Method Detail

setParmCellCellColor

public void setParmCellCellColor(java.lang.String cellColor)
Setter method for the color of a cell for each set of level parameter.
Parameters:
cellColor - The color of a cell for each set of level parameter.

getParmCellCellColor

public java.lang.String getParmCellCellColor()
Getter method for the color of a cell for each set of level parameter.
Returns:
cellColor The color of a cell for each set of level parameter.

getParmCellCellValue

public java.lang.String getParmCellCellValue()
Getter method for the value of the cell.
Returns:
cellValue The value of the cell.

getParmCellSetValues

public java.util.ArrayList getParmCellSetValues()
Getter method for the possible values of the cell when parameterType = set .
Returns:
setValues The possible values of the cell when parameterType = set .

getParmCellSmallCellColor

public java.lang.String getParmCellSmallCellColor()
Getter method for the color of a small cell for each set of level parameter.
Returns:
smallCellColor The color of a small cell for each set of level parameter.

setParmCellSmallCellColor

public void setParmCellSmallCellColor(java.lang.String smallCellColor)
Setter method for the color of a small cell for each set of level parameter.
Parameters:
smallCellColor - The color of a small cell for each set of level parameter.