@Entity public abstract class Product extends Object
Modifier | Constructor and Description |
---|---|
protected |
Product() |
protected |
Product(long id) |
Modifier and Type | Method and Description |
---|---|
double |
getCost() |
long |
getId() |
abstract String |
getName() |
void |
setCost(double cost) |
String |
toString() |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.