|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
mvp.Model
caltool.schedule.ScheduledItem
caltool.schedule.Appointment
public class Appointment
Class Appointment adds a number of components to a generic ScheduledItem. The StartTime and Duration indicate when the appointment starts and how long it lasts. The RecurringInfo defines if and how an appointment recurs. The Location is where it is held. The Security indicates who can see that the appointment is scheduled. Priority is how important the appointment is. RemindInfo indicates if and how the user is reminded of the appointment. Details are free form text describing any specific appointment details.
Field Summary | |
---|---|
protected java.lang.String |
details
Free-form text describing any specific appointment details |
protected Duration |
duration
How long the appointment lasts |
protected ItemKey |
itemKey
The uniqe key for storing this in the UserCalendar items list |
protected java.lang.String |
location
Where the appointment is held |
protected Priority |
priority
How important the appointment is |
protected RecurringInfo |
recurringInfo
Defines if and how an appointment recurs |
protected RemindInfo |
remindInfo
Indicates if and how user is reminded |
protected Security |
security
Indicates who can see that the appointment is scheduled |
protected Time |
startTime
Starting time of the appointment |
Fields inherited from class caltool.schedule.ScheduledItem |
---|
category, endDate, startOrDueDate, title |
Fields inherited from class mvp.Model |
---|
view |
Constructor Summary | |
---|---|
Appointment()
Construct an empty appointment. |
|
Appointment(java.lang.String title,
Date startOrDueDate,
Date endDate,
Time startTime,
Duration duration,
RecurringInfo recurringInfo,
Category category,
java.lang.String location,
Security security,
Priority priority,
RemindInfo remindInfo,
java.lang.String details)
Construct an appointment with the given field values. |
Method Summary | |
---|---|
java.lang.String |
getDetails()
Return the details. |
Duration |
getDuration()
Return the duration. |
Date |
getEndDate()
Return the end date. |
ItemKey |
getKey()
Return the unique key for this, consisting of date, time, duration, and title. |
java.lang.String |
getLocation()
Return the location. |
Priority |
getPriority()
Return the priority. |
RecurringInfo |
getRecurringInfo()
Return the recurring info. |
RemindInfo |
getRemindInfo()
Return the remind info. |
Security |
getSecurity()
Return the security. |
Date |
getStartDate()
Return the start date. |
Time |
getStartTime()
Return the start time. |
Methods inherited from class caltool.schedule.ScheduledItem |
---|
getCategory, getDate, getTitle |
Methods inherited from class mvp.Model |
---|
dump, exit, getView, setView |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Time startTime
protected Duration duration
protected RecurringInfo recurringInfo
protected java.lang.String location
protected Security security
protected Priority priority
protected RemindInfo remindInfo
protected java.lang.String details
protected ItemKey itemKey
Constructor Detail |
---|
public Appointment()
public Appointment(java.lang.String title, Date startOrDueDate, Date endDate, Time startTime, Duration duration, RecurringInfo recurringInfo, Category category, java.lang.String location, Security security, Priority priority, RemindInfo remindInfo, java.lang.String details)
Method Detail |
---|
public Date getStartDate()
public Date getEndDate()
getEndDate
in class ScheduledItem
public Time getStartTime()
public Duration getDuration()
public RecurringInfo getRecurringInfo()
public java.lang.String getLocation()
public Security getSecurity()
public Priority getPriority()
public RemindInfo getRemindInfo()
public java.lang.String getDetails()
public ItemKey getKey()
getKey
in class ScheduledItem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |