Package ejava.jpa.examples.query
Class Clerk
- java.lang.Object
-
- ejava.jpa.examples.query.Clerk
-
-
Constructor Summary
Constructors Constructor Description Clerk()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Clerk
addSale(Sale... sale)
String
getFirstName()
Date
getHireDate()
long
getId()
String
getLastName()
Collection<Sale>
getSales()
Date
getTermDate()
Clerk
setFirstName(String firstName)
Clerk
setHireDate(Date hireDate)
Clerk
setLastName(String lastName)
Clerk
setSales(Collection<Sale> sales)
Clerk
setTermDate(Date termDate)
String
toString()
-
-
-
Method Detail
-
getId
public long getId()
-
getSales
public Collection<Sale> getSales()
-
setSales
public Clerk setSales(Collection<Sale> sales)
-
getHireDate
public Date getHireDate()
-
getTermDate
public Date getTermDate()
-
getFirstName
public String getFirstName()
-
getLastName
public String getLastName()
-
-