Package org.openbravo.erpCommon.obps
Enum ActivationKey.SubscriptionStatus
- java.lang.Object
-
- java.lang.Enum<ActivationKey.SubscriptionStatus>
-
- org.openbravo.erpCommon.obps.ActivationKey.SubscriptionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivationKey.SubscriptionStatus>
- Enclosing class:
- ActivationKey
public static enum ActivationKey.SubscriptionStatus extends Enum<ActivationKey.SubscriptionStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStatusName(String language)
Returns the name of the current status in the given language.static ActivationKey.SubscriptionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivationKey.SubscriptionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMUNITY
public static final ActivationKey.SubscriptionStatus COMMUNITY
-
ACTIVE
public static final ActivationKey.SubscriptionStatus ACTIVE
-
CANCEL
public static final ActivationKey.SubscriptionStatus CANCEL
-
EXPIRED
public static final ActivationKey.SubscriptionStatus EXPIRED
-
NO_ACTIVE_YET
public static final ActivationKey.SubscriptionStatus NO_ACTIVE_YET
-
INVALID
public static final ActivationKey.SubscriptionStatus INVALID
-
-
Method Detail
-
values
public static ActivationKey.SubscriptionStatus[] 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.SubscriptionStatus c : ActivationKey.SubscriptionStatus.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.SubscriptionStatus 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
-
-