Example #1
0
 public final boolean setHourlyRateDollar(int hourlyRateDollar) {
   if (Check.isWholeNumber(hourlyRateDollar)) {
     this.hourlyRateDollar = hourlyRateDollar;
     return true;
   }
   return false;
 }
Example #2
0
 public final boolean setHoursWorked(double hours) {
   if (Check.isRealNumber(String.valueOf(hours))) {
     this.hoursWorked = hours;
     return true;
   }
   return false;
 }
Example #3
0
 public final boolean setPayDollar(int payDollar) {
   if (Check.isWholeNumber(payDollar)) {
     this.payDollar = payDollar;
     return true;
   }
   return false;
 }
Example #4
0
 public final boolean setPayCent(int payCent) {
   if (Check.isWholeNumber(payCent)) {
     this.payCent = payCent;
     return true;
   }
   return false;
 }
Example #5
0
 public final boolean setHourlyRateCents(int hourlyRateCents) {
   if (Check.isWholeNumber(hourlyRateCents)) {
     this.hourlyRateCents = hourlyRateCents;
     return true;
   }
   return false;
 }