|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GradebookService.PointsPossibleValidation>
org.sakaiproject.service.gradebook.shared.GradebookService.PointsPossibleValidation
public static enum GradebookService.PointsPossibleValidation
An enum for defining valid/invalid information for a points possible/relative weight
value for a gradebook item. See GradebookService.isPointsPossibleValid(String, Assignment, Double)
for usage
| Enum Constant Summary | |
|---|---|
INVALID_DECIMAL
The points possible/relative weight is invalid because it contains more than 2 decimal places |
|
INVALID_NULL_VALUE
The points possible/relative weight is invalid because it is null and a value is required. |
|
INVALID_NUMERIC_VALUE
The points possible/relative weight is invalid because it is a value <= 0 |
|
VALID
The points possible/relative weight is valid |
|
| Method Summary | |
|---|---|
static GradebookService.PointsPossibleValidation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GradebookService.PointsPossibleValidation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GradebookService.PointsPossibleValidation VALID
public static final GradebookService.PointsPossibleValidation INVALID_NULL_VALUE
public static final GradebookService.PointsPossibleValidation INVALID_NUMERIC_VALUE
public static final GradebookService.PointsPossibleValidation INVALID_DECIMAL
| Method Detail |
|---|
public static GradebookService.PointsPossibleValidation[] values()
for (GradebookService.PointsPossibleValidation c : GradebookService.PointsPossibleValidation.values()) System.out.println(c);
public static GradebookService.PointsPossibleValidation valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||