Class Sale
- java.lang.Object
-
- ejava.examples.orm.ejbql.annotated.Sale
-
-
Constructor Summary
Constructors Constructor Description Sale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getAmount()
long
getBuyerId()
Collection<Clerk>
getClerks()
Date
getDate()
long
getId()
Store
getStore()
void
setAmount(BigDecimal amount)
void
setBuyerId(long buyerId)
void
setClerks(Collection<Clerk> clerks)
void
setDate(Date date)
void
setId(long id)
void
setStore(Store store)
String
toString()
-
-
-
Field Detail
-
id
private long id
-
date
private Date date
-
amount
private BigDecimal amount
-
buyerId
private long buyerId
-
store
private Store store
-
clerks
private Collection<Clerk> clerks
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getClerks
public Collection<Clerk> getClerks()
-
setClerks
public void setClerks(Collection<Clerk> clerks)
-
getStore
public Store getStore()
-
setStore
public void setStore(Store store)
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getBuyerId
public long getBuyerId()
-
setBuyerId
public void setBuyerId(long buyerId)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
-