Fields Summary |
---|
public static final oreilly.hcj.datamodeling.constraints.ObjectConstraint | PAYMENT_CONSTRAINTConstraint for the property payment. |
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | INTEREST_PAID_CONSTRAINTConstraint for the property interestPaid. |
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | ORIGINAL_PRINCIPAL_CONSTRAINTConstraint for the property originalPrincipal. |
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | AMOUNT_CONSTRAINTConstraint for the property amount. |
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint | DURATION_CONSTRAINTConstraint for the property duration. |
public static final oreilly.hcj.datamodeling.constraints.ObjectConstraint | APPLICATION_CONSTRAINTConstraint for the property application. |
private AutomaticPayment | paymentThe monthly payment instance for this loan. |
private Float | interestPaidThe interest that the customer has paid on this loan for the life of the loan. |
private Float | originalPrincipalThe original principal borrowed on the loan. |
private Integer | durationThe duration of the loan in months. |
private LoanApplication | applicationThe application that resulted in this account. |
Methods Summary |
---|
public LoanApplication | getApplication()Getter for property application.
return application;
|
public java.lang.Integer | getDuration()Getter for property duration.
return duration;
|
public java.lang.Float | getInterestPaid()Getter for property interestPaid.
return interestPaid;
|
public java.lang.Float | getOriginalPrincipal()Getter for property originalPrincipal.
return originalPrincipal;
|
public AutomaticPayment | getPayment()Getter for property payment.
return payment;
|
public void | setApplication(LoanApplication application)Setter for property application.
APPLICATION_CONSTRAINT.validate(application);
final LoanApplication oldApplication = this.application;
this.application = application;
propertyChangeSupport.firePropertyChange("application", oldApplication,
this.application);
|
public void | setDuration(java.lang.Integer duration)Setter for property duration.
DURATION_CONSTRAINT.validate(duration);
final Integer oldDuration = this.duration;
this.duration = duration;
propertyChangeSupport.firePropertyChange("duration", oldDuration, this.duration);
|
public void | setInterestPaid(java.lang.Float interestPaid)Setter for property interestPaid.
INTEREST_PAID_CONSTRAINT.validate(interestPaid);
final Float oldInterestPaid = this.interestPaid;
this.interestPaid = interestPaid;
propertyChangeSupport.firePropertyChange("interestPaid", oldInterestPaid,
this.interestPaid);
|
public void | setOriginalPrincipal(java.lang.Float originalPrincipal)Setter for property originalPrincipal.
ORIGINAL_PRINCIPAL_CONSTRAINT.validate(originalPrincipal);
final Float oldOriginalPrincipal = this.originalPrincipal;
this.originalPrincipal = originalPrincipal;
propertyChangeSupport.firePropertyChange("originalPrincipal",
oldOriginalPrincipal,
this.originalPrincipal);
|
public void | setPayment(AutomaticPayment payment)Setter for property payment.
PAYMENT_CONSTRAINT.validate(payment);
final AutomaticPayment oldPayment = this.payment;
this.payment = payment;
propertyChangeSupport.firePropertyChange("payment", oldPayment, this.payment);
|