1    package com.instantbank.component.parameter.util;
2    
3    import java.util.*;
4    import java.io.Serializable;
5    
6    /**
7     *  Utility class allowing manipulation of  set parameter values .
8     *
9     * @author InstantBank (Roberto Contreras ).
10    * @created October 23, 2002
11    */
12   public class ValueRow
13       implements Serializable {
14   
15     /**
16      * The warnig color  of  a set level parameters for the parameter.
17      *  value: {0 = defined somewhere |  1 = undefined everywhere}
18      */
19     private String firstColumnColor;
20   
21     /**
22      * The array  of parameter values for each  set for parameter points per parameter.
23      * when each position are:
24      *                             parmCell[0] always correspond to "1,2"
25      *                             parmCell[1] always correspond to "1,ANY"
26      *                             parmCell[2] always correspond to "ANY,2"
27      *                             parmCell[3] always correspond to "ANY,ANY"
28      */
29     private ParmCell[] parmCell = new ParmCell[4];
30   
31   
32     /**
33      *  Constructor . <br>
34      *  <br>
35      *
36      * @param firstColumnColor The warnig color  of  a set level parameters for the parameter.
37      * @param parmCell Description of the Parameter
38      */
39     public ValueRow(String firstColumnColor, ParmCell parmCell[]) {
40   
41       this.firstColumnColor = firstColumnColor;
42       this.parmCell = parmCell;
43     }
44   
45   
46     /**
47      *  Setter method for the warnig color  of  a set level parameters for the parameter.
48      *
49      * @param firstColumnColor The warnig color  of  a set level parameters for the parameter.
50      */
51     public void setValueRowFirstColumnColor(String firstColumnColor) {
52       this.firstColumnColor = firstColumnColor;
53     }
54   
55   
56     /**
57      *  Getter method for the warnig color  of  a set level parameters for the parameter.
58      *
59      * @return firstColumnColor  The warnig color  of  a set level parameters for the parameter.
60      */
61     public String getValueRowFirstColumnColor() {
62       return (this.firstColumnColor);
63     }
64   
65   
66     /**
67      *  Setter method for the array  parameters of each  set for  parameter points  per parameter.
68      *
69      * @param parmCell The array  of parameter values for each  set for parameter points per parameter.
70      */
71     public void setValueRowParmCell(ParmCell[] parmCell) {
72       this.parmCell = parmCell;
73     }
74   
75   
76     /**
77      *  Getter method for the array  parameters of each  set for parameter points per parameter.
78      *
79      * @return parmCell   The array  of parameter values for each  set for parameter points per parameter.
80      */
81     public ParmCell[] getValueRowParmCell() {
82       return (this.parmCell);
83     }
84   }
85