ca.spaz.cron.datasource
Class FoodDataEvent
java.lang.Object
ca.spaz.cron.datasource.FoodDataEvent
public final class FoodDataEvent
- extends java.lang.Object
An event to be fired when a datasource has certain events occur. This is a
typesafe enumeration pattern.
- Author:
- Chris Rose
Method Summary |
int |
getIndex()
|
java.lang.String |
toString()
Returns the enumeration name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DSEVENT_FOOD_ADDED
public static final FoodDataEvent DSEVENT_FOOD_ADDED
- Enumeration values
DSEVENT_FOOD_DELETED
public static final FoodDataEvent DSEVENT_FOOD_DELETED
DSEVENT_FOOD_CHANGED
public static final FoodDataEvent DSEVENT_FOOD_CHANGED
DSEVENT_MEASURE_ADDED
public static final FoodDataEvent DSEVENT_MEASURE_ADDED
DSEVENT_MEASURE_REMOVED
public static final FoodDataEvent DSEVENT_MEASURE_REMOVED
DSEVENT_MEASURE_CHANGED
public static final FoodDataEvent DSEVENT_MEASURE_CHANGED
DSEVENT_SERVING_ADDED
public static final FoodDataEvent DSEVENT_SERVING_ADDED
DSEVENT_SERVING_REMOVED
public static final FoodDataEvent DSEVENT_SERVING_REMOVED
DSEVENT_SERVING_CHANGED
public static final FoodDataEvent DSEVENT_SERVING_CHANGED
toString
public java.lang.String toString()
- Returns the enumeration name.
- Overrides:
toString
in class java.lang.Object
- Returns:
- the enumeration name.
getIndex
public int getIndex()
Copyright © 2005 Spaz. All Rights Reserved.