Package org.osgi.service.onem2m.dto
Enum RequestPrimitiveDTO.Operation
- java.lang.Object
-
- java.lang.Enum<RequestPrimitiveDTO.Operation>
-
- org.osgi.service.onem2m.dto.RequestPrimitiveDTO.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RequestPrimitiveDTO.Operation>
- Enclosing class:
- RequestPrimitiveDTO
public static enum RequestPrimitiveDTO.Operation extends java.lang.Enum<RequestPrimitiveDTO.Operation>
enum type for Operation- See Also:
- oneM2M XSD resultContent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
get assigned integer valuestatic RequestPrimitiveDTO.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RequestPrimitiveDTO.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Create
public static final RequestPrimitiveDTO.Operation Create
Create
-
Retrieve
public static final RequestPrimitiveDTO.Operation Retrieve
Retrieve
-
Update
public static final RequestPrimitiveDTO.Operation Update
Update
-
Delete
public static final RequestPrimitiveDTO.Operation Delete
Delete
-
Notify
public static final RequestPrimitiveDTO.Operation Notify
Notify
-
-
Method Detail
-
values
public static RequestPrimitiveDTO.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RequestPrimitiveDTO.Operation c : RequestPrimitiveDTO.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestPrimitiveDTO.Operation valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
get assigned integer value- Returns:
- assigned integer value
-
-