Package com.axemble.vdoc.sdk.modules
Enum Class IBaseLibraryModule.SubscriptionFrequency
java.lang.Object
java.lang.Enum<IBaseLibraryModule.SubscriptionFrequency>
com.axemble.vdoc.sdk.modules.IBaseLibraryModule.SubscriptionFrequency
- All Implemented Interfaces:
Serializable
,Comparable<IBaseLibraryModule.SubscriptionFrequency>
,Constable
- Enclosing interface:
IBaseLibraryModule
public static enum IBaseLibraryModule.SubscriptionFrequency
extends Enum<IBaseLibraryModule.SubscriptionFrequency>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionget a subscription frequency from the name.fromValue
(int value) get a subscription frequency from the integer value.getName()
Gets the name of the frequency.int
getValue()
Gets the integer value of the frequency.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAILY
-
WEEKLY
-
MONTHLY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Gets the integer value of the frequency.- Returns:
- the value
-
getName
Gets the name of the frequency.- Returns:
- the name
-
fromValue
get a subscription frequency from the integer value.- Parameters:
value
- the value- Returns:
- the subscription frequency
-
fromName
get a subscription frequency from the name.- Parameters:
name
- the name- Returns:
- the subscription frequency
-