Package org.osgi.service.onem2m.dto
Enum Class ReleaseVersion
- All Implemented Interfaces:
Serializable
,Comparable<ReleaseVersion>
,Constable
enum expresses oneM2M specification version.
This information is introduced after Release 2.0 and oneM2M uses only R2A, R3_0 (as 2a and 3).
- See Also:
-
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 TypeMethodDescriptionstatic ReleaseVersion
Returns the enum constant of this class with the specified name.static ReleaseVersion[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
R1_0
Release 1 -
R1_1
Release 1.1 -
R2_0
Release 2 -
R2A
Release 2A -
R3_0
Release 3 -
R4_0
Release 4 (reserved for future) -
R5_0
Release 5 (reserved for future)
-
-
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
-