public static enum LicenceInformation.Activation extends java.lang.Enum<LicenceInformation.Activation>
| Enum Constant and Description |
|---|
NOT_REQUIRED
No activation is required.
|
REQUIRED
Activation is required.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static LicenceInformation.Activation |
valueOf(int code) |
static LicenceInformation.Activation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LicenceInformation.Activation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenceInformation.Activation NOT_REQUIRED
public static final LicenceInformation.Activation REQUIRED
public static LicenceInformation.Activation[] values()
for (LicenceInformation.Activation c : LicenceInformation.Activation.values()) System.out.println(c);
public static LicenceInformation.Activation 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 int getCode()
public static LicenceInformation.Activation valueOf(int code)
code - The value used in DB storage for which to retrieve the
corresponding activation object.