public enum PurchaseRestrictionFlag extends Enum<PurchaseRestrictionFlag> implements INumericConstant
| Enum Constant and Description |
|---|
BothChipAndHostBased |
ChipBased |
HostBased |
NoRestriction |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static PurchaseRestrictionFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurchaseRestrictionFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurchaseRestrictionFlag NoRestriction
public static final PurchaseRestrictionFlag ChipBased
public static final PurchaseRestrictionFlag HostBased
public static final PurchaseRestrictionFlag BothChipAndHostBased
public static PurchaseRestrictionFlag[] values()
for (PurchaseRestrictionFlag c : PurchaseRestrictionFlag.values()) System.out.println(c);
public static PurchaseRestrictionFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface INumericConstantCopyright © 2024. All rights reserved.