public class ScheduleEvents extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allDayEvent |
protected LocalDate |
endDate |
protected HourMinute |
endTime |
protected String |
eventname |
protected Recurrence |
recurrence |
protected LocalDate |
startDate |
protected HourMinute |
startTime |
Constructor and Description |
---|
ScheduleEvents()
Serializable Constructor
|
ScheduleEvents(String eventname,
LocalDate startDate,
LocalDate endDate) |
@NotNull @Size(min=1, max=40) protected String eventname
@NotNull protected LocalDate startDate
@AssertTrue protected Boolean allDayEvent
protected HourMinute startTime
protected HourMinute endTime
@NotNull protected LocalDate endDate
protected Recurrence recurrence
public String getEventname()
public ScheduleEvents setEventname(String eventname)
public LocalDate getStartDate()
public ScheduleEvents setStartDate(LocalDate startDate)
public boolean allDayEventFlagExist()
public ScheduleEvents setFlagAllDayEvent()
public HourMinute getStartTime()
public ScheduleEvents setStartTime(HourMinute startTime)
public HourMinute getEndTime()
public ScheduleEvents setEndTime(HourMinute endTime)
public LocalDate getEndDate()
public ScheduleEvents setEndDate(LocalDate 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.