@Entity public class Borrower extends Object
Modifier and Type | Field and Description |
---|---|
private Applicant |
application |
private Collection<Checkout> |
checkouts |
private Date |
endDate |
private long |
id |
private Person |
identity |
private static org.apache.commons.logging.Log |
log |
private Date |
startDate |
Modifier | Constructor and Description |
---|---|
protected |
Borrower() |
|
Borrower(Person identity) |
Modifier and Type | Method and Description |
---|---|
void |
addCheckout(Checkout checkout) |
Applicant |
getApplication() |
Collection<Checkout> |
getCheckouts() |
Date |
getEndDate() |
long |
getId() |
String |
getName()
This method returns the concatenated first/last names of the
Borrower's person.
|
Date |
getStartDate() |
void |
removeCheckout(Checkout checkout) |
void |
setApplication(Applicant application) |
void |
setEndDate(Date end) |
void |
setStartDate(Date start) |
String |
toString() |
private static org.apache.commons.logging.Log log
private long id
private Date startDate
private Date endDate
private Person identity
private Applicant application
private Collection<Checkout> checkouts
protected Borrower()
public Borrower(Person identity)
public long getId()
public Date getEndDate()
public void setEndDate(Date end)
public Date getStartDate()
public void setStartDate(Date start)
public String getName()
public Applicant getApplication()
public void setApplication(Applicant application)
public Collection<Checkout> getCheckouts()
public void addCheckout(Checkout checkout)
public void removeCheckout(Checkout checkout)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.