|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eShopper.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 nodeMethod Detail |
public java.util.Vector getChildren()
getChildren
in class eShopperNode
public java.lang.String toString()
toString
in class eShopperNode
public java.lang.String getDate()
getDate
in class eShopperNode
public int nodeID()
nodeID
in class eShopperNode
public java.lang.String getDBString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |