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