public enum ProgramModel extends java.lang.Enum<ProgramModel>
| Enum Constant and Description |
|---|
CARD_ONLY_MODEL |
PAY2CARD_MODEL |
WALLET_MODEL |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCardModel(ProgramModel programModel) |
static boolean |
isWalletModel(ProgramModel programModel) |
static ProgramModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgramModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgramModel WALLET_MODEL
public static final ProgramModel PAY2CARD_MODEL
public static final ProgramModel CARD_ONLY_MODEL
public static ProgramModel[] values()
for (ProgramModel c : ProgramModel.values()) System.out.println(c);
public static ProgramModel 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 namejava.lang.NullPointerException - if the argument is nullpublic static boolean isWalletModel(ProgramModel programModel)
public static boolean isCardModel(ProgramModel programModel)