@Override
 public Rate[] getCurrentRates() throws ParkingGarageException {
   Rate[] rates = new Rate[2];
   rates[0] = rateManager.getRegularRate();
   rates[1] = rateManager.getFlatRate();
   return rates;
 }
 private void setDefaultRates() throws ParseException, ParkingGarageException {
   BigDecimal hourlyRate = new BigDecimal(props.getProperty("default_regular_rate_amt"));
   BigDecimal flatRate = new BigDecimal(props.getProperty("default_flat_rate_amt"));
   // set the regular rate for the year...
   rateManager.setRate(hourlyRate, false);
   // set the flat rate for the year...
   rateManager.setRate(flatRate, true);
 }
 @Override
 public void setRate(BigDecimal rate, boolean isFlatRate)
     throws ParkingGarageException, java.rmi.RemoteException {
   rateManager.setRate(rate, isFlatRate);
 }