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.
|
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. |
containsDate, equals, getErrorMessageNumber, getErrorText, getName, getPreCalculatedDates, hashCode, setName, toString
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()
CalendarKeyword
true
if this is a static keyword.isStatic
in class CalendarKeyword
public boolean isWeekly()
CalendarKeyword
true
if this is a weekly keyword.isWeekly
in class CalendarKeyword
public boolean isMonthly()
CalendarKeyword
true
if this is a monthly keyword.isMonthly
in class CalendarKeyword
public boolean isYearly()
CalendarKeyword
true
if this is a yearly keyword.isYearly
in class CalendarKeyword
public boolean isGroup()
CalendarKeyword
true
if this is a group keyword.isGroup
in class CalendarKeyword
public boolean isRoll()
CalendarKeyword
true
if this is a roll keyword.isRoll
in class CalendarKeyword