Class DataBank

java.lang.Object
   |
   +----DataBank

class DataBank
extends Object

Variable Index

 o EAST_REGION
 o limit
 o LIMIT_THRESHOLD
 o MIDWEST_REGION
 o NORTH_REGION
 o region
 o SOUTH_REGION
 o userId
 o WEST_REGION
 o westMembers

Constructor Index

 o DataBank(String, int, DataBank. Region)
This is the version of the constructor that is used in the samples
 o DataBank(String, int, int)

Method Index

 o getLimit()
 o getRegion()
 o getUserId()
 o getWestMembers()
 o initializeWestMembers()
Creates the table of user id's that are to be considered members of the West Alliance

Variables

 o EAST_REGION
 static final DataBank. Region EAST_REGION
 o WEST_REGION
 static final DataBank. Region WEST_REGION
 o MIDWEST_REGION
 static final DataBank. Region MIDWEST_REGION
 o SOUTH_REGION
 static final DataBank. Region SOUTH_REGION
 o NORTH_REGION
 static final DataBank. Region NORTH_REGION
 o LIMIT_THRESHOLD
 static final int LIMIT_THRESHOLD
 o region
 DataBank. Region region
 o limit
 double limit
 o westMembers
 Hashtable westMembers
 o userId
 String userId

Constructors

 o DataBank
 DataBank(String userId,
          int limit,
          int regionName)
 o DataBank
 DataBank(String userId,
          int limit,
          DataBank. Region region)
This is the version of the constructor that is used in the samples

Methods

 o getLimit
 public double getLimit()
 o getRegion
 public DataBank. Region getRegion()
 o getUserId
 public String getUserId()
 o getWestMembers
 public Hashtable getWestMembers()
 o initializeWestMembers
 private void initializeWestMembers()
Creates the table of user id's that are to be considered members of the West Alliance