1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| public class StatusHolder {
/** Creates a new instance of StatusHolder */
private Vector v = new Vector();
private ArrayList myArrayList = new ArrayList();
//Properties
private static int cType; //Contract type decided
private static String ctrtType; // Contract type in String
private static double f030; // Current principal
private static double f060; //Next Principal Payment Dec
public static void setcType(int passedType)
{
cType = passedType;
}
public static int getcType()
{
return cType;
}
public static void setf060(double passedDouble)
{
f060 = passedDouble;
}
public static double getf060()
{
return f060;
}
public static void setf030(double passedDouble)
{
f030 = passedDouble;
}
public static void setf030(Double passedDouble)
{
f030 = passedDouble.doubleValue();
}
public static double getf030()
{
return f030;
}
} |
Partager