public class GroupCalendarKeyword extends CalendarKeyword
| Constructor and Description |
|---|
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.
|
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. |
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. |
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. |
containsDate, equals, getCalendarName, getErrorMessageInsert, getErrorMessageNumber, getErrorText, getName, getPreCalculatedDates, hashCode, setErrorMessageInsert, setName, toStringpublic GroupCalendarKeyword(UC4ObjectName name)
GroupCalendarKeyword.name - Name of the calendar keywordpublic Iterator<CalendarCondition> oneIterator()
CalendarCondition where at least one calendar condition must apply
This iterator can be used to read or remove calendar conditions.public Iterator<CalendarCondition> allIterator()
CalendarCondition where all calendar conditions must apply
This iterator can be used to read or remove calendar conditions.public 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 CalendarKeywordCopyright © 2021. All rights reserved.