Package org.openbravo.erpCommon.obps
Enum ActivationKey.LicenseRestriction
- java.lang.Object
-
- java.lang.Enum<ActivationKey.LicenseRestriction>
-
- org.openbravo.erpCommon.obps.ActivationKey.LicenseRestriction
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivationKey.LicenseRestriction>
- Enclosing class:
- ActivationKey
public static enum ActivationKey.LicenseRestriction extends Enum<ActivationKey.LicenseRestriction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRED_GOLDEN
HB_NOT_ACTIVE
MODULE_EXPIRED
NO_RESTRICTION
NOT_MATCHED_INSTANCE
NUMBER_OF_CONCURRENT_USERS_REACHED
NUMBER_OF_SOFT_USERS_REACHED
OPS_INSTANCE_NOT_ACTIVE
POS_TERMINALS_EXCEEDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivationKey.LicenseRestriction
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivationKey.LicenseRestriction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_RESTRICTION
public static final ActivationKey.LicenseRestriction NO_RESTRICTION
-
OPS_INSTANCE_NOT_ACTIVE
public static final ActivationKey.LicenseRestriction OPS_INSTANCE_NOT_ACTIVE
-
NUMBER_OF_SOFT_USERS_REACHED
public static final ActivationKey.LicenseRestriction NUMBER_OF_SOFT_USERS_REACHED
-
NUMBER_OF_CONCURRENT_USERS_REACHED
public static final ActivationKey.LicenseRestriction NUMBER_OF_CONCURRENT_USERS_REACHED
-
MODULE_EXPIRED
public static final ActivationKey.LicenseRestriction MODULE_EXPIRED
-
NOT_MATCHED_INSTANCE
public static final ActivationKey.LicenseRestriction NOT_MATCHED_INSTANCE
-
HB_NOT_ACTIVE
public static final ActivationKey.LicenseRestriction HB_NOT_ACTIVE
-
EXPIRED_GOLDEN
public static final ActivationKey.LicenseRestriction EXPIRED_GOLDEN
-
POS_TERMINALS_EXCEEDED
public static final ActivationKey.LicenseRestriction POS_TERMINALS_EXCEEDED
-
-
Method Detail
-
values
public static ActivationKey.LicenseRestriction[] values()
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 (ActivationKey.LicenseRestriction c : ActivationKey.LicenseRestriction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivationKey.LicenseRestriction valueOf(String name)
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
-
-