- All Implemented Interfaces:
Serializable
,Comparable<DataClass.Media>
,java.lang.constant.Constable
- Enclosing class:
- DataClass
Media Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant: 0x01 = 1Constant: 0x0A = 10Constant: 0x0B = 11Constant: 0x0C = 12Constant: 0x0D = 13Constant: 0x02 = 2Constant: 0x03 = 3Constant: 0x04 = 4Constant: 0x05 = 5Constant: 0x06 = 6Constant: 0x07 = 7Constant: 0x08 = 8Constant: 0x09 = 9Not defined to EasySMFConstant: 0x00 = 0 -
Method Summary
Modifier and TypeMethodDescriptionstatic DataClass.Media
from
(int value) Get the Media for an integer valuestatic DataClass.Media
Returns the enum constant of this type with the specified name.static DataClass.Media[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NULL
Constant: 0x00 = 0 -
MEDIA1
Constant: 0x01 = 1 -
MEDIA2
Constant: 0x02 = 2 -
MEDIA3
Constant: 0x03 = 3 -
MEDIA4
Constant: 0x04 = 4 -
MEDIA5
Constant: 0x05 = 5 -
MEDIA6
Constant: 0x06 = 6 -
MEDIA7
Constant: 0x07 = 7 -
MEDIA8
Constant: 0x08 = 8 -
MEDIA9
Constant: 0x09 = 9 -
MEDIA10
Constant: 0x0A = 10 -
MEDIA11
Constant: 0x0B = 11 -
MEDIA12
Constant: 0x0C = 12 -
MEDIA13
Constant: 0x0D = 13 -
NOT_DEFINED
Not defined to EasySMF
-
-
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 Media for an integer value- Parameters:
value
- the integer value- Returns:
- the corresponding Media
-