Package in.dragonbra.javasteam.enums
Enum ELicenseType
- java.lang.Object
-
- java.lang.Enum<ELicenseType>
-
- in.dragonbra.javasteam.enums.ELicenseType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ELicenseType>
public enum ELicenseType extends java.lang.Enum<ELicenseType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LimitedUseDelayedActivationNoLicenseRecurringChargeRecurringChargeLimitedUseRecurringChargeLimitedUseWithOveragesRecurringOptionSinglePurchaseSinglePurchaseLimitedUse
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static ELicenseTypefrom(int code)static ELicenseTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ELicenseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoLicense
public static final ELicenseType NoLicense
-
SinglePurchase
public static final ELicenseType SinglePurchase
-
SinglePurchaseLimitedUse
public static final ELicenseType SinglePurchaseLimitedUse
-
RecurringCharge
public static final ELicenseType RecurringCharge
-
RecurringChargeLimitedUse
public static final ELicenseType RecurringChargeLimitedUse
-
RecurringChargeLimitedUseWithOverages
public static final ELicenseType RecurringChargeLimitedUseWithOverages
-
RecurringOption
public static final ELicenseType RecurringOption
-
LimitedUseDelayedActivation
public static final ELicenseType LimitedUseDelayedActivation
-
-
Method Detail
-
values
public static ELicenseType[] 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 (ELicenseType c : ELicenseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ELicenseType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
code
public int code()
-
from
public static ELicenseType from(int code)
-
-