public enum SubscriptionUnitType extends Enum<SubscriptionUnitType>
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionUnitType |
fromValue(String v) |
String |
value() |
static SubscriptionUnitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionUnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionUnitType DAYS
public static final SubscriptionUnitType MONTHS
public static SubscriptionUnitType[] values()
for (SubscriptionUnitType c : SubscriptionUnitType.values()) System.out.println(c);
public static SubscriptionUnitType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static SubscriptionUnitType fromValue(String v)
Copyright © 2016. All Rights Reserved.