public abstract class AbstractRecurrence extends Object implements Serializable
Schedule
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pOther) |
<T> T |
getAttributeValue(RecurrenceAttribute pRecurrenceAttribute)
Gets the value of an attribute of this recurrence.
|
org.joda.time.LocalTime |
getEndTime()
Returns the end time of this schedule.
|
RecurrenceType |
getRecurrenceType()
Returns the type of this recurrence.
|
org.joda.time.LocalTime |
getStartTime()
Returns the start time of this schedule.
|
int |
hashCode() |
void |
setAttributeValue(RecurrenceAttribute pRecurrenceAttribute,
Object pValue)
Sets the value of an attribute of this recurrence.
|
void |
setEndTime(org.joda.time.LocalTime pEndTime)
Sets the end time of this schedule.
|
void |
setStartTime(org.joda.time.LocalTime pStartTime)
Sets the start time of this schedule.
|
String |
toString() |
public RecurrenceType getRecurrenceType()
null
.public org.joda.time.LocalTime getStartTime()
null
.public void setStartTime(org.joda.time.LocalTime pStartTime)
pStartTime
- the start time to set; can be null
.public org.joda.time.LocalTime getEndTime()
null
.public void setEndTime(org.joda.time.LocalTime pEndTime)
pEndTime
- the end time to set; can be null
.public void setAttributeValue(RecurrenceAttribute pRecurrenceAttribute, Object pValue)
pRecurrenceAttribute
- the attribute to set; can not be null
.pValue
- the value to set; can be null
.IllegalArgumentException
- if pRecurrenceAttribute is null
or not allowed for the
type
of this recurrence.ClassCastException
- if the type of pValue is not allowed for pRecurrenceAttribute.public <T> T getAttributeValue(RecurrenceAttribute pRecurrenceAttribute)
T
- the type of the attribute value.pRecurrenceAttribute
- the attribute to get; can not be null
.IllegalArgumentException
- if pRecurrenceAttribute is null
or not allowed for the
type
of this recurrence.© 1998- 2018 Stibo DX