Package com.avsystem.anjay
Enum AnjayObject.ResourceKind
- java.lang.Object
-
- java.lang.Enum<AnjayObject.ResourceKind>
-
- com.avsystem.anjay.AnjayObject.ResourceKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnjayObject.ResourceKind>
- Enclosing interface:
- AnjayObject
public static enum AnjayObject.ResourceKind extends java.lang.Enum<AnjayObject.ResourceKind>
Kind of a Resource - indicates allowed operations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BS_RWResource that can be read/written only by Bootstrap server.EExecutable Resource.RRead-only Single-Instance Resource.RMRead-only Multiple Instance Resource.RWRead/Write Single-Instance Resource.RWMRead/Write Multiple Instance Resource.WWrite-only Single-Instance Resource.WMWrite-only Multiple Instance Resource.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnjayObject.ResourceKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AnjayObject.ResourceKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
R
public static final AnjayObject.ResourceKind R
Read-only Single-Instance Resource. Bootstrap Server might attempt to write to it anyway.
-
W
public static final AnjayObject.ResourceKind W
Write-only Single-Instance Resource.
-
RW
public static final AnjayObject.ResourceKind RW
Read/Write Single-Instance Resource.
-
RM
public static final AnjayObject.ResourceKind RM
Read-only Multiple Instance Resource. Bootstrap Server might attempt to write to it anyway.
-
WM
public static final AnjayObject.ResourceKind WM
Write-only Multiple Instance Resource.
-
RWM
public static final AnjayObject.ResourceKind RWM
Read/Write Multiple Instance Resource.
-
E
public static final AnjayObject.ResourceKind E
Executable Resource.
-
BS_RW
public static final AnjayObject.ResourceKind BS_RW
Resource that can be read/written only by Bootstrap server.
-
-
Method Detail
-
values
public static AnjayObject.ResourceKind[] 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 (AnjayObject.ResourceKind c : AnjayObject.ResourceKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnjayObject.ResourceKind 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
-
-