Package ejava.examples.orm.rel.annotated
Class Checkout
- java.lang.Object
-
- ejava.examples.orm.rel.annotated.Checkout
-
-
Field Summary
Fields Modifier and Type Field Description private Borrower
borrower
private static long
CHECKOUT_DAYS
private long
id
private static org.slf4j.Logger
log
private Date
outDate
private Date
returnDate
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Borrower
getBorrower()
long
getId()
Date
getReturnDate()
boolean
isOverdue()
private String
myInstance()
void
setBorrower(Borrower borrower)
void
setReturnDate(Date returnDate)
String
toString()
-
-
-
Constructor Detail
-
Checkout
protected Checkout()
-
Checkout
public Checkout(Date outDate)
-
-
Method Detail
-
isOverdue
public boolean isOverdue()
-
getId
public long getId()
-
getBorrower
public Borrower getBorrower()
-
setBorrower
public void setBorrower(Borrower borrower)
-
getReturnDate
public Date getReturnDate()
-
setReturnDate
public void setReturnDate(Date returnDate)
-
myInstance
private String myInstance()
-
-