public abstract class CalendarKeyword
extends java.lang.Object
Constructor and Description |
---|
CalendarKeyword() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDate(DateTime date)
Checks if a date matches this keyword.
|
boolean |
equals(java.lang.Object obj) |
int |
getErrorMessageNumber()
Returns the number of the error message or
0 if there is no error in this calendar keyword. |
java.lang.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.
|
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 |
setName(UC4ObjectName name)
Sets the name of the Calendar Keyword.
|
java.lang.String |
toString() |
public int getErrorMessageNumber()
0
if there is no error in this calendar keyword.public java.lang.String getErrorText()
null
if there is no error in this calendar keyword.public 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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean containsDate(DateTime date)
date
- Date to check