|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteShopper.Ingredient
eShopper.RecipeIngredient
This is an ingredient that is associated with a recipe.
| Method Summary | |
boolean |
equals(java.lang.Object anotherIngredient)
Overloads the equals() method. |
double |
getAmount()
This is the accessor method for the amount of the ingredient. |
eShopperUnit |
getUnit()
This is the accessor method for the unit the ingredient is measured in. |
java.lang.String |
toString()
Overloads the toString() method, returning the name, amount and units of the ingredient. |
| Methods inherited from class eShopper.Ingredient |
getID, getName, setName |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public double getAmount()
public eShopperUnit getUnit()
public java.lang.String toString()
toString in class Ingredientpublic boolean equals(java.lang.Object anotherIngredient)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||