public class Event extends Object implements Serializable
IWorkdayCalendar
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_TYPE_BUSY
Event Type Busy
|
static String |
EVENT_TYPE_BUSY_TENTATIVE
Event Type Tentatively Busy
|
static String |
EVENT_TYPE_HOLIDAY
Event Type Holiday
|
static String |
EVENT_TYPE_OUT_OF_THE_OFFICE
Event Type Out of the Office
|
static String |
EVENT_TYPE_TIMEOFF
Event Type Time Off
|
static String |
EVENT_TYPE_WORKDAY
Event Type Workday
|
Constructor and Description |
---|
Event()
Default constructor
|
Event(String type,
String name)
Creates an event of specified type and name
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Returns event name
|
String |
getType()
Returns event type
|
void |
setName(String name)
Sets event name
|
void |
setType(String type)
Sets event type
|
String |
toString() |
public static final String EVENT_TYPE_WORKDAY
public static final String EVENT_TYPE_HOLIDAY
public static final String EVENT_TYPE_TIMEOFF
public static final String EVENT_TYPE_BUSY
public static final String EVENT_TYPE_BUSY_TENTATIVE
public static final String EVENT_TYPE_OUT_OF_THE_OFFICE