org.jasig.schedassist.model
Class Reminders

java.lang.Object
  extended by 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

Field Summary
static Reminders DEFAULT
          Default email reminders (disabled).
 
Method Summary
static Reminders fromKey(String keyValue)
           
 int getHours()
           
 String getKey()
           
 boolean isEnabled()
           
 boolean isIncludeOwner()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final Reminders DEFAULT
Default email reminders (disabled).

Method Detail

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.