public class GroupCalendarKeyword extends CalendarKeyword
| Modifier | Constructor and Description |
|---|---|
protected |
GroupCalendarKeyword(org.w3c.dom.Element keyword,
java.lang.String string) |
|
GroupCalendarKeyword(UC4ObjectName name)
Constructs a new
GroupCalendarKeyword. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCalendarConditionAll(CalendarCondition cond)
Adds a calendar condition to the list of conditions where all least one must apply.
|
void |
addCalendarConditionNone(CalendarCondition cond)
Adds a calendar condition to the list of conditions where none of the calendar conditions must apply.
|
void |
addCalendarConditionOne(CalendarCondition cond)
Adds a calendar condition to the list of conditions where at least one must apply.
|
java.util.Iterator<CalendarCondition> |
allIterator()
Returns an iterator over
CalendarCondition where all calendar conditions must apply
This iterator can be used to read or remove calendar conditions. |
boolean |
isGroup()
Returns
true if this is a group keyword. |
boolean |
isMonthly()
Returns
true if this is a monthly keyword. |
boolean |
isRoll()
Returns
true if this is a roll keyword. |
boolean |
isStatic()
Returns
true if this is a static keyword. |
boolean |
isWeekly()
Returns
true if this is a weekly keyword. |
boolean |
isYearly()
Returns
true if this is a yearly keyword. |
java.util.Iterator<CalendarCondition> |
noneIterator()
Returns an iterator over
CalendarCondition where none of the calendar conditions apply
This iterator can be used to read or remove calendar conditions. |
java.util.Iterator<CalendarCondition> |
oneIterator()
Returns an iterator over
CalendarCondition where at least one calendar condition must apply
This iterator can be used to read or remove calendar conditions. |
protected void |
save(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element parent)
Saves the keyword under the specified parent element
|
containsDate, equals, getCalendarName, getErrorMessageInsert, getErrorMessageNumber, getErrorText, getName, getPreCalculatedDates, hashCode, invalidateCalculatedDates, loadCalculatedDays, setCalendarName, setErrorMessageInsert, setErrorMessageNumber, setErrorText, setName, toStringprotected GroupCalendarKeyword(org.w3c.dom.Element keyword,
java.lang.String string)
public GroupCalendarKeyword(UC4ObjectName name)
GroupCalendarKeyword.name - Name of the calendar keywordpublic java.util.Iterator<CalendarCondition> oneIterator()
CalendarCondition where at least one calendar condition must apply
This iterator can be used to read or remove calendar conditions.public java.util.Iterator<CalendarCondition> allIterator()
CalendarCondition where all calendar conditions must apply
This iterator can be used to read or remove calendar conditions.public java.util.Iterator<CalendarCondition> noneIterator()
CalendarCondition where none of the calendar conditions apply
This iterator can be used to read or remove calendar conditions.public void addCalendarConditionAll(CalendarCondition cond)
cond - Calendar Conditionpublic void addCalendarConditionOne(CalendarCondition cond)
cond - Calendar Conditionpublic void addCalendarConditionNone(CalendarCondition cond)
cond - Calendar Conditionpublic boolean isStatic()
CalendarKeywordtrue if this is a static keyword.isStatic in class CalendarKeywordpublic boolean isWeekly()
CalendarKeywordtrue if this is a weekly keyword.isWeekly in class CalendarKeywordpublic boolean isMonthly()
CalendarKeywordtrue if this is a monthly keyword.isMonthly in class CalendarKeywordpublic boolean isYearly()
CalendarKeywordtrue if this is a yearly keyword.isYearly in class CalendarKeywordpublic boolean isGroup()
CalendarKeywordtrue if this is a group keyword.isGroup in class CalendarKeywordpublic boolean isRoll()
CalendarKeywordtrue if this is a roll keyword.isRoll in class CalendarKeywordprotected void save(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element parent)
CalendarKeywordsave in class CalendarKeyworddoc - XML Documentparent - Parent element