org.wicketstuff.calendarviews.model
Class BasicEvent
java.lang.Object
org.wicketstuff.calendarviews.model.BasicEvent
- All Implemented Interfaces:
- Serializable, IEvent
- Direct Known Subclasses:
- BasicCategorizedEvent
public class BasicEvent
- extends Object
- implements IEvent, Serializable
This is just a simple IEvent implementation, mostly used for testing. You may use it as
a wrapper in your own application if you would like, but it is not necessary.
- Author:
- Jeremy Thomerson
- See Also:
- Serialized Form
BasicEvent
public BasicEvent()
BasicEvent
public BasicEvent(String title,
Date endTime,
Date startTime,
boolean allDayEvent)
getTitle
public String getTitle()
- Specified by:
getTitle in interface IEvent
setTitle
public void setTitle(String title)
getEndTime
public Date getEndTime()
- Specified by:
getEndTime in interface IEvent
setEndTime
public void setEndTime(Date endTime)
getStartTime
public Date getStartTime()
- Specified by:
getStartTime in interface IEvent
setStartTime
public void setStartTime(Date startTime)
isAllDayEvent
public boolean isAllDayEvent()
- Description copied from interface:
IEvent
- Is this event an all day event or does it have a specific start and end time throughout the
day?
- Specified by:
isAllDayEvent in interface IEvent
- Returns:
- true if the event lasts all day (has no hour / minute start time) always false if the
event is a multi-day event
setAllDayEvent
public void setAllDayEvent(boolean allDayEvent)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2011. All Rights Reserved.