public class Task extends ScheduledItem
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
completedFlag
CompletedFlag is true if a Task has been completed, false if not.
|
protected Date |
completionDate
CompletionDate is date on which as task is completed.
|
protected java.lang.String |
details
Free-form text describing any specific appointment details
|
protected Time |
dueTime
Due time of the task
|
protected ItemKey |
itemKey
The uniqe key for storing this in the UserCalendar items list
|
protected int |
priority
Defines the relative priority of this task compared to others
|
protected RecurringInfo |
recurringInfo
Defines if and how an task recurs
|
protected RemindInfo |
remindInfo
Indicates if and how user is reminded
|
protected Security |
security
Indicates who can see that the task is scheduled
|
category, endDate, startOrDueDate, title| Constructor and Description |
|---|
Task()
Construct an empty task.
|
Task(java.lang.String title,
Date startOrDueDate,
Date endDate,
Category category,
Time dueTime,
RecurringInfo recurringInfo,
Security security,
int priority,
RemindInfo remindInfo,
java.lang.String details,
boolean completedFlag,
Date completionDate)
Construct a task with the given field values.
|
| Modifier and Type | Method and Description |
|---|---|
ItemKey |
getKey()
Return the unique key for this, consisting of date, time, title, and
priority.
|
getCategory, getDate, getEndDate, getTitleprotected Time dueTime
protected RecurringInfo recurringInfo
protected Security security
protected int priority
protected RemindInfo remindInfo
protected java.lang.String details
protected boolean completedFlag
protected Date completionDate
protected ItemKey itemKey
public Task()
public Task(java.lang.String title,
Date startOrDueDate,
Date endDate,
Category category,
Time dueTime,
RecurringInfo recurringInfo,
Security security,
int priority,
RemindInfo remindInfo,
java.lang.String details,
boolean completedFlag,
Date completionDate)
public ItemKey getKey()
getKey in class ScheduledItem