|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.h_da.library.datamanagement.entity.Loan
public class Loan
[entity] This entity represents a concrete loan of one
BookOnStock by one Customer.
| Field Summary | |
|---|---|
private BookOnStock |
bookOnStock
Concrete book instance that is being borrowed. |
private Customer |
customer
Customer who borrows the book. |
private java.util.Date |
dueDate
Date when the bookOnStock must be returned. |
private java.util.Date |
loanDate
Date when the bookOnStock was borrowed. |
private LoanStatus |
status
Status of the loan (BORROWED, DELAYED, RETURNED). |
| Constructor Summary | |
|---|---|
Loan()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BookOnStock bookOnStock
private Customer customer
private java.util.Date dueDate
bookOnStock must be returned.
private java.util.Date loanDate
bookOnStock was borrowed.
private LoanStatus status
| Constructor Detail |
|---|
public Loan()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||