Package de.xima.fc.user.presence
Enum ResourceKey.ResourceType
- java.lang.Object
-
- java.lang.Enum<ResourceKey.ResourceType>
-
- de.xima.fc.user.presence.ResourceKey.ResourceType
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceKey.ResourceType>
- Enclosing class:
- ResourceKey
public static enum ResourceKey.ResourceType extends Enum<ResourceKey.ResourceType> implements Serializable
The type of resource that can be edited concurrently.- Since:
- 8.6.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORMA form or project.FORM_RECORDA submitted form record.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceKey.ResourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceKey.ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORM_RECORD
public static final ResourceKey.ResourceType FORM_RECORD
A submitted form record.- Since:
- 8.6.0
-
FORM
public static final ResourceKey.ResourceType FORM
A form or project.- Since:
- 8.6.0
-
-
Method Detail
-
values
public static ResourceKey.ResourceType[] 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 (ResourceKey.ResourceType c : ResourceKey.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceKey.ResourceType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-