Package org.bedework.calfacade.base
Interface RecurrenceEntity
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
EventEntity
- All Known Implementing Classes:
BwEvent,BwEventAnnotation,BwEventNewWrapper,BwEventObj,BwEventProxy
- Author:
- Mike Douglass douglm - bedework.edu
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddExdate(BwDateTime val) voidvoidaddRdate(BwDateTime val) voidGet the recurrence idbooleanTrue if we have exdatesbooleanTrue if we have exrulesbooleanTrue if we have rdatesbooleanTrue if we have rrulesbooleanvoidsetExdates(Set<BwDateTime> val) voidsetExrules(Set<String> val) voidsetRdates(Set<BwDateTime> val) voidsetRecurrenceId(String val) Set the recurrence idvoidsetRecurring(Boolean val) voidXXX Wrong - it should be a listbooleanif (getRecurring() == null) { return false; } return getRecurring();
-
Method Details
-
setRecurring
- Parameters:
val-
-
getRecurring
Boolean getRecurring()- Returns:
- Boolean true if a recurring event - only relevant for master event.
-
setRecurrenceId
Set the recurrence id- Parameters:
val- recurrence id
-
getRecurrenceId
String getRecurrenceId()Get the recurrence id- Returns:
- the event's recurrence id
-
setRrules
XXX Wrong - it should be a list- Parameters:
val-
-
getRrules
- Returns:
- Set of String
-
setExrules
- Parameters:
val-
-
getExrules
- Returns:
- Set of String
-
setRdates
- Parameters:
val-
-
getRdates
Set<BwDateTime> getRdates()- Returns:
- Set of String
-
setExdates
- Parameters:
val-
-
getExdates
Set<BwDateTime> getExdates()- Returns:
- Set of String
-
isRecurringEntity
boolean isRecurringEntity()- Returns:
- true if there is any recurring element.
-
testRecurring
boolean testRecurring()if (getRecurring() == null) { return false; } return getRecurring();- Returns:
- true if this is a recurring entity.
-
hasRrules
boolean hasRrules()True if we have rrules- Returns:
- boolean
-
addRrule
- Parameters:
val-
-
hasExrules
boolean hasExrules()True if we have exrules- Returns:
- boolean
-
addExrule
- Parameters:
val-
-
hasRdates
boolean hasRdates()True if we have rdates- Returns:
- boolean
-
addRdate
- Parameters:
val-
-
hasExdates
boolean hasExdates()True if we have exdates- Returns:
- boolean
-
addExdate
- Parameters:
val-
-