|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CashDeskStates>
org.cocome.tradingsystem.cashdeskline.cashdesk.application.impl.CashDeskStates
public enum CashDeskStates
Description of the states the ApplicationEventHandler can be in
Enum Constant Summary | |
---|---|
CREDIT_CARD_SCANNED
After the credit card was scanned |
|
INITIALIZED
Initial state |
|
PAID
After the payment per cash |
|
PAYING_BY_CASH
After the selection for cash payment was made |
|
PAYING_BY_CREDITCARD
After the selection for credit card payment was made |
|
SALE_FINISHED
After a sale has finished (All products have been scanned) and Finish Sale button pushed |
|
SALE_STARTED
After a sale has started (New Sale button pushed) |
Method Summary | |
---|---|
static CashDeskStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CashDeskStates[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CashDeskStates INITIALIZED
public static final CashDeskStates SALE_STARTED
public static final CashDeskStates SALE_FINISHED
public static final CashDeskStates PAYING_BY_CREDITCARD
public static final CashDeskStates CREDIT_CARD_SCANNED
public static final CashDeskStates PAYING_BY_CASH
public static final CashDeskStates PAID
Method Detail |
---|
public static CashDeskStates[] values()
for (CashDeskStates c : CashDeskStates.values()) System.out.println(c);
public static CashDeskStates valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |