public class Part extends Object
Constructor and Description |
---|
Part() |
Modifier and Type | Method and Description |
---|---|
Product |
getProduct()
Get the product.
|
double |
getQuantity()
Get the quantity.
|
void |
setProduct(Product product)
Set the product.
|
void |
setQuantity(double quantity)
Set the quantity.
|
public Product getProduct()
public void setProduct(Product product)
product
- The product to set.public double getQuantity()
public void setQuantity(double quantity)
quantity
- The quantity to set.Copyright © 2012. All Rights Reserved.