Fields Summary |
---|
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | CARD_NUMBER_CONSTRAINTConstraint for the property creditLimit. |
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | CREDIT_LIMIT_CONSTRAINTConstraint for the property creditLimit. |
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | MIN_PAY_PERCENT_CONSTRAINTConstraint for the property minPayPercent. |
private Float | creditLimitThe limit of credit on this card. |
private Float | minPayPercentThe minimum percentage of the balance that the cardholder must pay each month. |
private Long | cardNumberThe 16 digit card number on this card. |
Methods Summary |
---|
public java.lang.Long | getCardNumber()Getter for property cardNumber.
return cardNumber;
|
public java.lang.Float | getCreditLimit()Getter for property creditLimit.
return creditLimit;
|
public java.lang.Float | getMinPayPercent()Getter for property minPayPercent.
return minPayPercent;
|
public void | setCardNumber(java.lang.Long cardNumber)Setter for property cardNumber.
CARD_NUMBER_CONSTRAINT.validate(cardNumber);
final Long oldCardNumber = this.cardNumber;
this.cardNumber = cardNumber;
propertyChangeSupport.firePropertyChange("cardNumber", oldCardNumber,
this.cardNumber);
|
public void | setCreditLimit(java.lang.Float creditLimit)Setter for property creditLimit.
CREDIT_LIMIT_CONSTRAINT.validate(creditLimit);
final Float oldCreditLimit = this.creditLimit;
this.creditLimit = creditLimit;
propertyChangeSupport.firePropertyChange("creditLimit", oldCreditLimit,
this.creditLimit);
|
public void | setMinPayPercent(java.lang.Float minPayPercent)Setter for property minPayPercent.
MIN_PAY_PERCENT_CONSTRAINT.validate(minPayPercent);
final Float oldMinPayPercent = this.minPayPercent;
this.minPayPercent = minPayPercent;
propertyChangeSupport.firePropertyChange("minPayPercent", oldMinPayPercent,
this.minPayPercent);
|