|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.model.ScheduledEvent
public class ScheduledEvent
Constructor Summary | |
---|---|
ScheduledEvent()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.util.Iterator |
getDates(java.util.Calendar untilDate)
Returns an iterator of dates which mark the start of scheduled event. |
java.util.Iterator |
getDates(java.util.Calendar fromDate,
java.util.Calendar untilDate)
|
java.lang.Integer |
getDuration()
Get the number of units (see DurationUnit) for the duration interval of the event. |
RepeatUnit |
getDurationUnit()
Get the unit (hours, weeks, days, etc) for the duration interval of the event. |
java.util.Date |
getEndTime()
The end time, as a java.util.Date |
RepeatInterval |
getRepeatInterval()
Get the repeat frequency. |
java.util.Date |
getStartTime()
Retrieves the start time, as a java.util.Date |
boolean |
isRepeatingEvent()
If true, indicates that this is a repeating event |
void |
setDuration(java.lang.Integer duration)
Set the number of units (see DurationUnit) for the duration interval of the event. |
void |
setDurationUnit(RepeatUnit durationUnit)
Set the unit (hours, weeks, days, etc) for the duration interval of the event. |
void |
setEndTime(java.util.Date endTime)
Setter for The end time, as a java.util.Date |
void |
setRepeatingEvent(boolean repeatingEvent)
Invoke this method with the value true to indicate that the event is repeating, false if it is not repeating |
void |
setRepeatInterval(RepeatInterval frequency)
Setter for the repeat frequency. |
void |
setStartTime(java.util.Date startTime)
Sets the start time |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScheduledEvent()
Method Detail |
---|
public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime
- The start time, as a java.util.Datepublic java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTimeThe
- end time, as a java.util.Datepublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isRepeatingEvent()
public void setRepeatingEvent(boolean repeatingEvent)
repeatingEvent
- whether the event is repeatingpublic RepeatInterval getRepeatInterval()
Get the repeat frequency. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar
for details.
To specify that the event repeats weekely...
public void setRepeatInterval(RepeatInterval frequency)
Setter for the repeat frequency. The new value must be the
Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar
for details.
To specify that the event repeats weekly...
frequency
- New value of property frequency.public RepeatUnit getDurationUnit()
Get the unit (hours, weeks, days, etc) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar
for details.
To specify that the event repeats for three months...
public void setDurationUnit(RepeatUnit durationUnit)
Set the unit (hours, weeks, days, etc) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar
for details.
To specify that the event repeats for three months...
durationUnit
- New value of property durationUnit.public java.lang.Integer getDuration()
Get the number of units (see DurationUnit) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar
for details.
To specify that the event repeats for three months...
public void setDuration(java.lang.Integer duration)
Set the number of units (see DurationUnit) for the duration interval
of the event. The value must be the Integer value
of a calendar field identifier (Calendar.HOUR_OF_DAY, etc). See
java.util.Calendar
for details.
To specify that the event repeats weekely...
duration
- New value of property duration.public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.util.Iterator getDates(java.util.Calendar untilDate)
public java.util.Iterator getDates(java.util.Calendar fromDate, java.util.Calendar untilDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |