public enum ReferenceLevel extends java.lang.Enum<ReferenceLevel>
| Enum Constant and Description |
|---|
BAD |
GOOD |
NA |
NEUTRAL |
VERY_BAD |
VERY_GOOD |
| Modifier and Type | Method and Description |
|---|---|
int |
getPoints() |
boolean |
isPositive() |
static ReferenceLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceLevel VERY_GOOD
public static final ReferenceLevel GOOD
public static final ReferenceLevel NEUTRAL
public static final ReferenceLevel BAD
public static final ReferenceLevel VERY_BAD
public static final ReferenceLevel NA
public static ReferenceLevel[] values()
for (ReferenceLevel c : ReferenceLevel.values()) System.out.println(c);
public static ReferenceLevel 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 int getPoints()
public boolean isPositive()