Package fi.tut.mei.resdescapi.issue
Enum ResCatIssue.EnumResourceCategory
- java.lang.Object
-
- java.lang.Enum<ResCatIssue.EnumResourceCategory>
-
- fi.tut.mei.resdescapi.issue.ResCatIssue.EnumResourceCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<ResCatIssue.EnumResourceCategory>
- Enclosing class:
- ResCatIssue
public static enum ResCatIssue.EnumResourceCategory extends Enum<ResCatIssue.EnumResourceCategory>
Enumeration for which resource category this issue relates to. Accepted values are: ARD, PROFILE, RD, OTHER
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResCatIssue.EnumResourceCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResCatIssue.EnumResourceCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARD
public static final ResCatIssue.EnumResourceCategory ARD
-
PROFILE
public static final ResCatIssue.EnumResourceCategory PROFILE
-
RD
public static final ResCatIssue.EnumResourceCategory RD
-
OTHER
public static final ResCatIssue.EnumResourceCategory OTHER
-
-
Method Detail
-
values
public static ResCatIssue.EnumResourceCategory[] 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 (ResCatIssue.EnumResourceCategory c : ResCatIssue.EnumResourceCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResCatIssue.EnumResourceCategory 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
-
-