Class Product
Requirements.analysis
public class
Product
Stores sell products, which have a price.
Stereotype:
description
See Also:
Node Documentation
Field Summary
private
ProductDesc
attribute1
private int
barcode
private int
description
private int
manuf
private int
name
private int
price
Method Summary
int
getPrice
()
double
getSalePrice
()
static
Product
lookUp
(String upc)
void
setPrice
(int price)
Field Detail
price
private int
price
attribute1
private
ProductDesc
attribute1
name
private int
name
description
private int
description
manuf
private int
manuf
barcode
private int
barcode
Method Detail
getPrice
public int
getPrice
()
setPrice
public void
setPrice
(int price)
getSalePrice
public double
getSalePrice
()
lookUp
public static
Product
lookUp
(String upc)