Class Store
- java.lang.Object
-
- ejava.examples.orm.ejbql.annotated.Store
-
-
Constructor Summary
Constructors Constructor Description Store()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
String
getName()
Collection<Sale>
getSales()
private void
setId(long id)
void
setName(String name)
void
setSales(Collection<Sale> sales)
String
toString()
-
-
-
Field Detail
-
id
private long id
-
name
private String name
-
sales
private Collection<Sale> sales
-
-
Method Detail
-
getId
public long getId()
-
setId
private void setId(long id)
-
getSales
public Collection<Sale> getSales()
-
setSales
public void setSales(Collection<Sale> sales)
-
getName
public String getName()
-
setName
public void setName(String name)
-
-