| java.lang.Object org.apache.ojb.broker.Salad
Constructor Summary | |
public | Salad() Constructor for Salad. | public | Salad(String name, int calories, String color) |
Salad | public Salad()(Code) | | Constructor for Salad.
|
getColor | public String getColor()(Code) | | Returns the color.
String |
getFoodId | public int getFoodId()(Code) | | Returns the foodId.
int |
setCalories | public void setCalories(int calories)(Code) | | Sets the calories.
Parameters: calories - The calories to set |
setColor | public void setColor(String color)(Code) | | Sets the color.
Parameters: color - The color to set |
setFoodId | public void setFoodId(int foodId)(Code) | | Sets the foodId.
Parameters: foodId - The foodId to set |
setName | public void setName(String name)(Code) | | Sets the name.
Parameters: name - The name to set |
|
|