com.stringsandints.inventium.khlrooster.data
Class Reminder

java.lang.Object
  extended by com.stringsandints.inventium.khlrooster.data.Reminder

public class Reminder
extends java.lang.Object

A reminder contains a note regarding a certain lessonHour. It enabled you to set an alarm for this reminder.


Field Summary
private  java.lang.Boolean alarm
           
private  LessonHour lessenHour
           
private  java.lang.String note
           
private  int reminderID
           
private  long timeDifferenceAlarm
           
 
Constructor Summary
Reminder()
           
Reminder(int reminderID, LessonHour lessonHour, java.lang.String note, java.lang.Boolean alarm, long timeDifferenceAlarm)
           
 
Method Summary
 java.lang.Boolean getAlarm()
           
 LessonHour getLessenHour()
           
 java.lang.String getNote()
           
 int getReminderID()
           
 long getTimeDifferenceAlarm()
           
protected  void setAlarm(java.lang.Boolean alarm)
           
protected  void setLessenHour(LessonHour lessenHour)
          Getters & setters
 void setNote(java.lang.String note)
           
protected  void setReminderID(int reminderID)
           
 void setTimeDifferenceAlarm(long timeDifferenceAlarm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lessenHour

private LessonHour lessenHour

note

private java.lang.String note

alarm

private java.lang.Boolean alarm

timeDifferenceAlarm

private long timeDifferenceAlarm

reminderID

private int reminderID
Constructor Detail

Reminder

public Reminder(int reminderID,
                LessonHour lessonHour,
                java.lang.String note,
                java.lang.Boolean alarm,
                long timeDifferenceAlarm)

Reminder

public Reminder()
Method Detail

getLessenHour

public LessonHour getLessenHour()

setLessenHour

protected void setLessenHour(LessonHour lessenHour)
Getters & setters


getNote

public java.lang.String getNote()

setNote

public void setNote(java.lang.String note)

getAlarm

public java.lang.Boolean getAlarm()

setAlarm

protected void setAlarm(java.lang.Boolean alarm)

getTimeDifferenceAlarm

public long getTimeDifferenceAlarm()

setTimeDifferenceAlarm

public void setTimeDifferenceAlarm(long timeDifferenceAlarm)

getReminderID

public int getReminderID()

setReminderID

protected void setReminderID(int reminderID)