org.openintents.provider
Class Shopping.Status

java.lang.Object
  extended by org.openintents.provider.Shopping.Status
Enclosing class:
Shopping

public static final class Shopping.Status
extends java.lang.Object

Status of "contains" element.


Field Summary
static long BOUGHT
          Have bought this item.
static long WANT_TO_BUY
          Want to buy this item.
 
Constructor Summary
Shopping.Status()
           
 
Method Summary
static boolean isValid(long s)
          Checks whether a status is a valid possibility.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WANT_TO_BUY

public static final long WANT_TO_BUY
Want to buy this item.

See Also:
Constant Field Values

BOUGHT

public static final long BOUGHT
Have bought this item.

See Also:
Constant Field Values
Constructor Detail

Shopping.Status

public Shopping.Status()
Method Detail

isValid

public static boolean isValid(long s)
Checks whether a status is a valid possibility.

Parameters:
s - status to be checked.
Returns:
true if status is a valid possibility.