org.wicketstuff.calendarviews.model
Class BasicEvent
java.lang.Object
org.wicketstuff.calendarviews.model.BasicEvent
- All Implemented Interfaces:
- java.io.Serializable, IEvent
- Direct Known Subclasses:
- BasicCategorizedEvent
public class BasicEvent
- extends java.lang.Object
- implements IEvent, java.io.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
|
Constructor Summary |
BasicEvent()
|
BasicEvent(java.lang.String title,
java.util.Date endTime,
java.util.Date startTime,
boolean allDayEvent)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BasicEvent
public BasicEvent()
BasicEvent
public BasicEvent(java.lang.String title,
java.util.Date endTime,
java.util.Date startTime,
boolean allDayEvent)
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface IEvent
setTitle
public void setTitle(java.lang.String title)
getEndTime
public java.util.Date getEndTime()
- Specified by:
getEndTime in interface IEvent
setEndTime
public void setEndTime(java.util.Date endTime)
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime in interface IEvent
setStartTime
public void setStartTime(java.util.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 java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2010. All Rights Reserved.