Package org.openiam.idm.srvc.res.dto
Enum ResourceRisk
- java.lang.Object
-
- java.lang.Enum<ResourceRisk>
-
- org.openiam.idm.srvc.res.dto.ResourceRisk
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceRisk>
public enum ResourceRisk extends Enum<ResourceRisk>
Created by: Alexander Duckardt Date: 1/16/14.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceRisk
getByValue(String val)
String
getValue()
static ResourceRisk
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceRisk[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIGH
public static final ResourceRisk HIGH
-
MEDIUM
public static final ResourceRisk MEDIUM
-
LOW
public static final ResourceRisk LOW
-
-
Method Detail
-
values
public static ResourceRisk[] 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 (ResourceRisk c : ResourceRisk.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceRisk 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
-
getValue
public String getValue()
-
getByValue
public static ResourceRisk getByValue(String val)
-
-