ca.spaz.cron.datasource.www
Class WWWFoodGroupImpl

java.lang.Object
  extended by ca.spaz.cron.database.AbstractFoodGroup
      extended by ca.spaz.cron.datasource.www.WWWFoodGroupImpl
All Implemented Interfaces:
FoodGroup, WWWFoodGroup

public class WWWFoodGroupImpl
extends AbstractFoodGroup
implements WWWFoodGroup

A generic food group class for WWW Food Datasources.

Author:
Chris Rose

Constructor Summary
WWWFoodGroupImpl(java.lang.String searchKey, java.lang.String groupName)
          Create a new WWWFoodGroupImpl.
 
Method Summary
 java.lang.String getFoodGroupName()
           
 java.lang.String getKey()
           
 
Methods inherited from class ca.spaz.cron.database.AbstractFoodGroup
equals, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WWWFoodGroupImpl

public WWWFoodGroupImpl(java.lang.String searchKey,
                        java.lang.String groupName)
Create a new WWWFoodGroupImpl.

Parameters:
searchKey - This is the key to use for searches.
groupName - The food group's name.
Method Detail

getFoodGroupName

public java.lang.String getFoodGroupName()
Specified by:
getFoodGroupName in interface FoodGroup

getKey

public final java.lang.String getKey()
Specified by:
getKey in interface WWWFoodGroup


Copyright © 2005 Spaz. All Rights Reserved.