Constructor and Description |
---|
Product() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description.
|
String |
getName()
Get the name.
|
double |
getPrice()
Get the price.
|
void |
setDescription(String description)
Set the description.
|
void |
setName(String name)
Set the name.
|
void |
setPrice(double price)
Set the price.
|
public String getName()
public void setName(String name)
name
- The name to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public double getPrice()
public void setPrice(double price)
price
- The price to set.Copyright © 2012. All Rights Reserved.