public static enum Problem.SubProblem extends java.lang.Enum<Problem.SubProblem>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
abbreviation
The abbreviation of the sub-problem.
|
private java.lang.String |
description
The description of the sub-problem.
|
private boolean |
justification |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
abbreviation()
Returns the abbreviation of the sub-problem.
|
java.lang.String |
description()
Returns the description of the sub-problem.
|
boolean |
isJustificationProblem() |
static Problem.SubProblem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Problem.SubProblem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Problem.SubProblem DC
public static final Problem.SubProblem DS
public static final Problem.SubProblem DE
public static final Problem.SubProblem DL
public static final Problem.SubProblem DX
public static final Problem.SubProblem DN
public static final Problem.SubProblem EC
public static final Problem.SubProblem ES
public static final Problem.SubProblem EE
public static final Problem.SubProblem EL
public static final Problem.SubProblem SE
private java.lang.String description
private java.lang.String abbreviation
private boolean justification
public static Problem.SubProblem[] values()
for (Problem.SubProblem c : Problem.SubProblem.values()) System.out.println(c);
public static Problem.SubProblem valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String description()
public java.lang.String abbreviation()
public boolean isJustificationProblem()