public enum CodeOrigin extends Enum<CodeOrigin>
| Enum Constant and Description |
|---|
PROOFSHEET
The code is a ScanTrust proofsheet code
|
REGULAR
The code is a regular ScanTrust code.
|
UNKNOWN
The origin is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeOrigin UNKNOWN
public static final CodeOrigin REGULAR
public static final CodeOrigin PROOFSHEET
public static CodeOrigin[] values()
for (CodeOrigin c : CodeOrigin.values()) System.out.println(c);
public static CodeOrigin 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 null