Modifier and Type | Field and Description |
---|---|
private long |
id |
private String |
name |
private Collection<Sale> |
sales |
Constructor and Description |
---|
Store() |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
String |
getName() |
Collection<Sale> |
getSales() |
private void |
setId(long id) |
void |
setName(String name) |
void |
setSales(Collection<Sale> sales) |
String |
toString() |
private long id
private String name
private Collection<Sale> sales
public long getId()
private void setId(long id)
public Collection<Sale> getSales()
public void setSales(Collection<Sale> sales)
public String getName()
public void setName(String name)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.