eShopper
Class eShopperMisc

java.lang.Object
  extended byeShopper.eShopperNode
      extended byeShopper.eShopperMisc

public class eShopperMisc
extends eShopperNode

This is a miscelaneous item in the list. It is actually just the grouping for the Recipes and Ingredients not associated with a date.

Author:
Jim Laing

Constructor Summary
eShopperMisc(java.util.Vector children)
           
 
Method Summary
 java.util.Vector getChildren()
          This returns the children of the Other heading.
 java.lang.String getDate()
          This always returns null, because this node cannot have a date.
 int nodeID()
          This returns the nodeID 0, which means it's not a Recipe or Ingredient.
 java.lang.String toString()
          This returns the name of the node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

eShopperMisc

public eShopperMisc(java.util.Vector children)
Method Detail

getChildren

public java.util.Vector getChildren()
This returns the children of the Other heading.

Specified by:
getChildren in class eShopperNode
Returns:
A vector of the recipes and ingredients in the list not associated with a date.

toString

public java.lang.String toString()
This returns the name of the node.

Specified by:
toString in class eShopperNode
Returns:
Always returns the string "Other".

getDate

public java.lang.String getDate()
This always returns null, because this node cannot have a date.

Specified by:
getDate in class eShopperNode
Returns:
Always returns null.

nodeID

public int nodeID()
This returns the nodeID 0, which means it's not a Recipe or Ingredient.

Specified by:
nodeID in class eShopperNode
Returns:
Always returns 0.