public class ScheduleEvents extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allDayEvent |
protected Date |
endDate |
protected HourMinute |
endTime |
protected String |
eventname |
protected Recurrence |
recurrence |
protected Date |
startDate |
protected HourMinute |
startTime |
Constructor and Description |
---|
ScheduleEvents()
Serializable Constructor
|
ScheduleEvents(String eventname,
Date startDate,
Date endDate) |
Modifier and Type | Method and Description |
---|---|
static Element |
formRequest(Request<?> request,
ScheduleEvents datatype,
String elementName)
Appends this DataType to the given Request
|
Boolean |
getAllDayEvent() |
static ScheduleEvents[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type ScheduleEvents by parsing the XML node.
|
Date |
getEndDate() |
HourMinute |
getEndTime() |
String |
getEventname() |
static ScheduleEvents |
getFromNode(Node node)
Retrieves an elements of type ScheduleEvents by parsing an XML node.
|
Recurrence |
getRecurrence() |
Date |
getStartDate() |
HourMinute |
getStartTime() |
ScheduleEvents |
setAllDayEvent(Boolean allDayEvent) |
ScheduleEvents |
setEndDate(Date endDate) |
ScheduleEvents |
setEndTime(HourMinute endTime) |
ScheduleEvents |
setEventname(String eventname) |
ScheduleEvents |
setRecurrence(Recurrence recurrence) |
ScheduleEvents |
setStartDate(Date startDate) |
ScheduleEvents |
setStartTime(HourMinute startTime) |
@Size(min=1, max=40) protected String eventname
protected Date startDate
@AssertTrue protected Boolean allDayEvent
protected HourMinute startTime
protected HourMinute endTime
protected Date endDate
protected Recurrence recurrence
public String getEventname()
public ScheduleEvents setEventname(String eventname)
public Date getStartDate()
public ScheduleEvents setStartDate(Date startDate)
public Boolean getAllDayEvent()
public ScheduleEvents setAllDayEvent(Boolean allDayEvent)
public HourMinute getStartTime()
public ScheduleEvents setStartTime(HourMinute startTime)
public HourMinute getEndTime()
public ScheduleEvents setEndTime(HourMinute endTime)
public Date getEndDate()
public ScheduleEvents setEndDate(Date endDate)
public Recurrence getRecurrence()
public ScheduleEvents setRecurrence(Recurrence recurrence)
@GwtIncompatible public static Element formRequest(Request<?> request, ScheduleEvents datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static ScheduleEvents getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static ScheduleEvents[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2016 ECG. All rights reserved.