|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteShopper.eShopperNode
eShopper.eShopperDate
This is a subclass of eShopperNode which represents a date node. A date node can have both recipes and ingredients as children.
| Constructor Summary | |
eShopperDate(java.sql.Date date,
int listID,
eShopperDB db)
the constructor |
|
| Method Summary | |
java.util.Vector |
getChildren()
This returns the node's children. |
java.lang.String |
getDate()
This returns the date associated with the node. |
java.lang.String |
getDBString()
Gets a string representing the date, formatted to go in a database (e.g. |
int |
nodeID()
This returns the nodeID of the node. |
java.lang.String |
toString()
This is the overload of the toString function. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public eShopperDate(java.sql.Date date,
int listID,
eShopperDB db)
date - a java.sql.date objectlistID - the database ID of the list which the date is associated withdb - the database from which to build the node| Method Detail |
public java.util.Vector getChildren()
getChildren in class eShopperNodepublic java.lang.String toString()
toString in class eShopperNodepublic java.lang.String getDate()
getDate in class eShopperNodepublic int nodeID()
nodeID in class eShopperNodepublic java.lang.String getDBString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||