org.apache.myfaces.custom.schedule.model
Class DefaultScheduleEntry
java.lang.Object
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry
- All Implemented Interfaces:
- Serializable, ScheduleEntry
public class DefaultScheduleEntry
- extends Object
- implements Serializable, ScheduleEntry
A default implementation of a Schedule entry
- Version:
- $Revision: 371736 $
- Author:
- Jurgen Lust (latest modification by $Author: werpu $)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultScheduleEntry
public DefaultScheduleEntry()
getTimeZone
public TimeZone getTimeZone()
- Returns:
- the current timezone
setTimeZone
public void setTimeZone(TimeZone timeZone)
- Set current timezone
- Parameters:
timeZone
- the timezone
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ScheduleEntry
- Returns:
- Returns the description.
setEndTime
public void setEndTime(Date endTime)
- Parameters:
endTime
- The endTime to set.
getEndTime
public Date getEndTime()
- Specified by:
getEndTime
in interface ScheduleEntry
- Returns:
- Returns the endTime.
setId
public void setId(String id)
- Parameters:
id
- The id to set.
getId
public String getId()
- Specified by:
getId
in interface ScheduleEntry
- Returns:
- Returns the id.
setStartTime
public void setStartTime(Date startTime)
- Parameters:
startTime
- The startTime to set.
getStartTime
public Date getStartTime()
- Specified by:
getStartTime
in interface ScheduleEntry
- Returns:
- Returns the startTime. If the allDay property is true, the startTime is truncated to 00:00.
setSubtitle
public void setSubtitle(String subtitle)
- Parameters:
subtitle
- The subtitle to set.
getSubtitle
public String getSubtitle()
- Specified by:
getSubtitle
in interface ScheduleEntry
- Returns:
- Returns the subtitle.
setTitle
public void setTitle(String title)
- Parameters:
title
- The title to set.
getTitle
public String getTitle()
- Specified by:
getTitle
in interface ScheduleEntry
- Returns:
- Returns the title.
isAllDay
public boolean isAllDay()
- Specified by:
isAllDay
in interface ScheduleEntry
- Returns:
- Returns true if the entry last all day.
setAllDay
public void setAllDay(boolean allDay)
- Parameters:
allDay
- does the entry last all day?
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.