Package com.blackhillsoftware.dcollect
Enum SmsVolume.SmsStatusSource
- All Implemented Interfaces:
Serializable,Comparable<SmsVolume.SmsStatusSource>
- Enclosing class:
- SmsVolume
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConstant: 0x00 = 0Constant: 0x01 = 1Constant: 0x03 = 3Constant: 0x02 = 2 -
Method Summary
Modifier and TypeMethodDescriptionstatic SmsVolume.SmsStatusSourcefrom(int value) Get the SmsStatusSource for an integer valuestatic SmsVolume.SmsStatusSourceReturns the enum constant of this type with the specified name.static SmsVolume.SmsStatusSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CDS
Constant: 0x00 = 0 -
SETSMS_COMMAND
Constant: 0x01 = 1 -
VTOC_PCT_ALERT
Constant: 0x02 = 2 -
STATUS_ALERT_RELIEF
Constant: 0x03 = 3 -
NOT_DEFINED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
from
Get the SmsStatusSource for an integer value- Parameters:
value- the integer value- Returns:
- the corresponding SmsStatusSource
-