public static enum IBaseLibraryModule.SubscriptionFrequency extends Enum<IBaseLibraryModule.SubscriptionFrequency>
Modifier and Type | Method and Description |
---|---|
static IBaseLibraryModule.SubscriptionFrequency |
fromName(String name)
get a subscription frequency from the name.
|
static IBaseLibraryModule.SubscriptionFrequency |
fromValue(int value)
get a subscription frequency from the integer value.
|
String |
getName()
Gets the name of the frequency.
|
int |
getValue()
Gets the integer value of the frequency.
|
static IBaseLibraryModule.SubscriptionFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IBaseLibraryModule.SubscriptionFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IBaseLibraryModule.SubscriptionFrequency DAILY
public static final IBaseLibraryModule.SubscriptionFrequency WEEKLY
public static final IBaseLibraryModule.SubscriptionFrequency MONTHLY
public static IBaseLibraryModule.SubscriptionFrequency[] values()
for (IBaseLibraryModule.SubscriptionFrequency c : IBaseLibraryModule.SubscriptionFrequency.values()) System.out.println(c);
public static IBaseLibraryModule.SubscriptionFrequency 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 int getValue()
public String getName()
public static IBaseLibraryModule.SubscriptionFrequency fromValue(int value)
value
- the valuepublic static IBaseLibraryModule.SubscriptionFrequency fromName(String name)
name
- the nameCopyright © 2021 Visiativ Software. All rights reserved.