InlandRevVar.class
//This class contains the Inland Revenue varibles used through out the program // they are loaded from class ApplicationVaribles package com; import com.PrintToFile; import java.io.*; import java.util.ArrayList; public class InlandRevVar { static ArrayList arrayList; static double LELweek = 0.0; static double ETweek = 0.0; static double UELweek = 0.0; static double LELmonth = 0.0; static double ETmonth = 0.0; static double UELmonth = 0.0; static double lowerBoundary = 0.0; static double upperBoundary = 0.0; static double startingRate = 0.0; static double basicRate = 0.0; static double higherRate = 0.0; public InlandRevVar() { LELweek = 00.0; ETweek = 00.0; UELweek = 00.0; } public static void setNICList(ArrayList a) { arrayList = a; } public static ArrayList getNICList() { return arrayList; } /////////////////////////////////////////////////////// public static void setLELweek(double a) { LELweek = a; } public static double getLELweek() { return LELweek; } /////////////////////////////////////////////////////////// public static void setETweek(double a) { ETweek = a; } public static double getETweek() { return ETweek; } /////////////////////////////////////////////////////////// public static void setUELweek(double a) { UELweek = a; } public static double getUELweek() { return UELweek; } /////////////////////////////////////////////////////////////// public static void setLELmonth(double a) { LELmonth = a; } public static double getLELmonth() { return LELmonth; } /////////////////////////////////////////////////////////// public static void setETmonth(double a) { ETmonth = a; } public static double getETmonth() { return ETmonth; } /////////////////////////////////////////////////////////// public static void setUELmonth(double a) { UELmonth = a; } public static double getUELmonth() { return UELmonth; } /////////////////////////////////////////////////////////////// public static void setLowerBoundary(double a) { lowerBoundary = a; } public static double getLowerBoundary() { return lowerBoundary; } //////////////////////////////////////////////////////////////// public static void setUpperBoundary(double u) { upperBoundary = u; } public static double getUpperBoundary() { return upperBoundary; } //////////////////////////////////////////////////////////////// public static void setStartingRate(double s) { startingRate = s; } public static double getStartingRate() { return startingRate; } //////////////////////////////////////////////////////////////// public static void setBasicRate(double b) { basicRate = b; } public static double getBasicRate() { return basicRate; } //////////////////////////////////////////////////////////////// public static void setHigherRate(double h) { higherRate = h; } public static double getHigherRate() { return higherRate; } }