public abstract class CalendarKeyword extends Object
Constructor and Description |
---|
CalendarKeyword() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDate(DateTime date)
Checks if a date matches this keyword.
|
boolean |
equals(Object obj) |
String |
getCalendarName()
Returns the parent calendar object name, this is necessary to identify a calendar keyword
|
String |
getErrorMessageInsert()
Returns the insert string in case errorMessageNumber is not 0.
|
int |
getErrorMessageNumber()
Returns the number of the error message or
0 if there is no error in this calendar keyword. |
String |
getErrorText()
Returns the text of the error message or
null if there is no error in this calendar keyword. |
UC4ObjectName |
getName()
Returns the name of the Calendar Keyword.
|
SortedSet<DateTime> |
getPreCalculatedDates() |
int |
hashCode() |
abstract boolean |
isGroup()
Returns
true if this is a group keyword. |
abstract boolean |
isMonthly()
Returns
true if this is a monthly keyword. |
abstract boolean |
isRoll()
Returns
true if this is a roll keyword. |
abstract boolean |
isStatic()
Returns
true if this is a static keyword. |
abstract boolean |
isWeekly()
Returns
true if this is a weekly keyword. |
abstract boolean |
isYearly()
Returns
true if this is a yearly keyword. |
void |
setErrorMessageInsert(String errorMessageInsert)
Sets the error message insert.
|
void |
setName(UC4ObjectName name)
Sets the name of the Calendar Keyword.
|
String |
toString() |
public int getErrorMessageNumber()
0
if there is no error in this calendar keyword.public String getErrorMessageInsert()
public String getErrorText()
null
if there is no error in this calendar keyword.public void setErrorMessageInsert(String errorMessageInsert)
errorMessageInsert
- Insertpublic UC4ObjectName getName()
public void setName(UC4ObjectName name)
name
- UC4ObjectName containing the calendar keywordpublic abstract boolean isStatic()
true
if this is a static keyword.public abstract boolean isWeekly()
true
if this is a weekly keyword.public abstract boolean isMonthly()
true
if this is a monthly keyword.public abstract boolean isYearly()
true
if this is a yearly keyword.public abstract boolean isGroup()
true
if this is a group keyword.public abstract boolean isRoll()
true
if this is a roll keyword.public String getCalendarName()
public boolean containsDate(DateTime date)
date
- Date to checkCopyright © 2021. All rights reserved.