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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic ReleaseVersionReturns 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_0Release 1
- 
R1_1Release 1.1
- 
R2_0Release 2
- 
R2ARelease 2A
- 
R3_0Release 3
- 
R4_0Release 4 (reserved for future)
- 
R5_0Release 5 (reserved for future)
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-