|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Preferences>
org.jasig.schedassist.model.Preferences
public enum Preferences
Enum to store the displayName and key for the different Schedule Owner preferences stored in the Scheduling Assistant system.
| Method Summary | |
|---|---|
static Preferences |
fromDisplayName(String displayName)
|
static Preferences |
fromKey(String key)
|
static Map<Preferences,String> |
getDefaultPreferences()
Returns a Map containing all Preferences as keys mapped
to their default values (as Strings). |
String |
getDefaultValue()
|
String |
getDisplayName()
|
String |
getKey()
|
static Preferences |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Preferences[] |
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 Preferences NOTEBOARD
public static final Preferences LOCATION
public static final Preferences MEETING_PREFIX
public static final Preferences DURATIONS
public static final Preferences VISIBLE_WINDOW
public static final Preferences ADVISOR_SHARE_WITH_STUDENTS
public static final Preferences DEFAULT_VISITOR_LIMIT
public static final Preferences MEETING_LIMIT
public static final Preferences REFLECT_SCHEDULE
public static final Preferences REMINDERS
public static final Preferences INSTRUCTOR_SHARE_WITH_STUDENTS
| Method Detail |
|---|
public static Preferences[] values()
for (Preferences c : Preferences.values()) System.out.println(c);
public static Preferences 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 nullpublic String getDisplayName()
public String getKey()
public String getDefaultValue()
public static Preferences fromKey(String key)
key -
Preferences has a matching keypublic static Preferences fromDisplayName(String displayName)
displayName -
Preferences has a matching displayNamepublic static Map<Preferences,String> getDefaultPreferences()
Map containing all Preferences as keys mapped
to their default values (as Strings).
Map of Preferences as keys and their default values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||