Package wappsto.iot.network.model
Enum ValuePermission
- java.lang.Object
-
- java.lang.Enum<ValuePermission>
-
- wappsto.iot.network.model.ValuePermission
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ValuePermission>
public enum ValuePermission extends java.lang.Enum<ValuePermission>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValuePermissionfrom(java.lang.String string)static ValuePermissionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ValuePermission[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
R
public static final ValuePermission R
-
W
public static final ValuePermission W
-
RW
public static final ValuePermission RW
-
-
Method Detail
-
values
public static ValuePermission[] 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 (ValuePermission c : ValuePermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValuePermission 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
-
from
public static ValuePermission from(java.lang.String string) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-