Enum LicenceInformation.Activation
- java.lang.Object
-
- java.lang.Enum<LicenceInformation.Activation>
-
- de.aristaflow.adept2.model.common.LicenceInformation.Activation
-
- All Implemented Interfaces:
Serializable
,Comparable<LicenceInformation.Activation>
- Enclosing interface:
- LicenceInformation
@Deprecated public static enum LicenceInformation.Activation extends Enum<LicenceInformation.Activation>
Deprecated.This is replaced by anint
specifying the activation interval.The enumeration for different activation options.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_REQUIRED
Deprecated.No activation is required.REQUIRED
Deprecated.Activation is required.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getCode()
Deprecated.static LicenceInformation.Activation
valueOf(int code)
Deprecated.Returns the enum constant of this type with the specified name.static LicenceInformation.Activation
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static LicenceInformation.Activation[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REQUIRED
public static final LicenceInformation.Activation NOT_REQUIRED
Deprecated.No activation is required.
-
REQUIRED
public static final LicenceInformation.Activation REQUIRED
Deprecated.Activation is required.
-
-
Method Detail
-
values
public static LicenceInformation.Activation[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LicenceInformation.Activation c : LicenceInformation.Activation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LicenceInformation.Activation valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
Deprecated.- Returns:
- The code is used to identify a value for DB storage
-
valueOf
public static LicenceInformation.Activation valueOf(int code)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
code
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-