Modifier and Type | Field and Description |
---|---|
private BigDecimal |
amount |
private long |
buyerId |
private Collection<Clerk> |
clerks |
private Date |
date |
private long |
id |
private Store |
store |
Constructor and Description |
---|
Sale() |
Modifier and Type | Method and 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() |
private long id
private Date date
private BigDecimal amount
private long buyerId
private Store store
private Collection<Clerk> clerks
public long getId()
public void setId(long id)
public Collection<Clerk> getClerks()
public void setClerks(Collection<Clerk> clerks)
public Store getStore()
public void setStore(Store store)
public BigDecimal getAmount()
public void setAmount(BigDecimal amount)
public long getBuyerId()
public void setBuyerId(long buyerId)
public Date getDate()
public void setDate(Date date)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.