public enum CourseStatus extends Enum<CourseStatus>
| Enum Constant and Description |
|---|
ACTIVE
The active.
|
IDLE
The idle.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getInfinitive() |
String |
getPastParticiple() |
String |
getPresentParticiple() |
static CourseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CourseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CourseStatus ACTIVE
public static final CourseStatus IDLE
public static CourseStatus[] values()
for (CourseStatus c : CourseStatus.values()) System.out.println(c);
public static CourseStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getInfinitive()
public String getPresentParticiple()
public String getPastParticiple()
Copyright © 2018. All Rights Reserved.