예제 #1
0
 public final boolean setHourlyRateDollar(int hourlyRateDollar) {
   if (Check.isWholeNumber(hourlyRateDollar)) {
     this.hourlyRateDollar = hourlyRateDollar;
     return true;
   }
   return false;
 }
예제 #2
0
 public final boolean setPayDollar(int payDollar) {
   if (Check.isWholeNumber(payDollar)) {
     this.payDollar = payDollar;
     return true;
   }
   return false;
 }
예제 #3
0
 public final boolean setPayCent(int payCent) {
   if (Check.isWholeNumber(payCent)) {
     this.payCent = payCent;
     return true;
   }
   return false;
 }
예제 #4
0
 public final boolean setHourlyRateCents(int hourlyRateCents) {
   if (Check.isWholeNumber(hourlyRateCents)) {
     this.hourlyRateCents = hourlyRateCents;
     return true;
   }
   return false;
 }