|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecteShopper.Recipe
This is a recipe that is in the database but does not need the information associated with being in a shopping list.
Constructor Summary | |
Recipe(int ID,
java.lang.String name)
Explicit value constructor for a recipe. |
Method Summary | |
int |
getID()
Accessor method for the ID of the recipe. |
java.lang.String |
toString()
Override of the toString function inherited from Object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Recipe(int ID, java.lang.String name)
ID
- of the recipename
- of the recipeMethod Detail |
public int getID()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |