public class Appointment extends ScheduledItem
| Modifier and Type | Field and Description |
|---|---|
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
|
category, endDate, startOrDueDate, title| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getCategory, getDate, getTitleprotected 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
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)
public Date getStartDate()
public Date getEndDate()
getEndDate in class ScheduledItempublic 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