org.jasig.schedassist.model
Class Reminders
java.lang.Object
org.jasig.schedassist.model.Reminders
- All Implemented Interfaces:
- Serializable
public class Reminders
- extends Object
- implements Serializable
Bean to represent the reminders preference.
- Author:
- Nicholas Blair, npblair@wisc.edu
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final Reminders DEFAULT
- Default email reminders (disabled).
getKey
public String getKey()
- Returns:
- the key
isEnabled
public boolean isEnabled()
- Returns:
- the enabled
isIncludeOwner
public boolean isIncludeOwner()
- Returns:
- the includeOwner
getHours
public int getHours()
- Returns:
- the hours
fromKey
public static Reminders fromKey(String keyValue)
- Parameters:
keyValue -
- Returns:
- a
Reminders instance from the key value
- Throws:
IllegalArgumentException - for keys that couldn't be converted
Copyright © 2012 Jasig. All Rights Reserved.