public enum FraudTypeEnum extends Enum<FraudTypeEnum>
Modifier and Type | Method and Description |
---|---|
static FraudTypeEnum |
fromValue(String value) |
static List<FraudTypeEnum> |
getAll() |
String |
getValue() |
static FraudTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FraudTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FraudTypeEnum CN
public static final FraudTypeEnum CP
public static FraudTypeEnum[] values()
for (FraudTypeEnum c : FraudTypeEnum.values()) System.out.println(c);
public static FraudTypeEnum 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 String getValue()
public static FraudTypeEnum fromValue(String value)
public static List<FraudTypeEnum> getAll()
Copyright © 2018. All rights reserved.