| java.lang.Object org.apache.ojb.broker.Fish
Constructor Summary | |
public | Fish() Constructor for Fish. | public | Fish(String name, int calories, String typeOfWater) |
Fish | public Fish()(Code) | | Constructor for Fish.
|
getFoodId | public int getFoodId()(Code) | | Returns the foodId.
int |
getTypeOfWater | public String getTypeOfWater()(Code) | | Returns the typeOfWater.
String |
setCalories | public void setCalories(int calories)(Code) | | Sets the calories.
Parameters: calories - The calories 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 |
setTypeOfWater | public void setTypeOfWater(String typeOfWater)(Code) | | Sets the typeOfWater.
Parameters: typeOfWater - The typeOfWater to set |
|
|