public class CalendarCondition
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
CalendarCondition(CalendarList.CalendarListItem name,
java.lang.String keyword)
Constructs a new
CalendarCondition using the specified calendar name and keyword. |
CalendarCondition(UC4ObjectName name,
java.lang.String keyword)
Constructs a new
CalendarCondition using the specified calendar name and keyword. |
CalendarCondition(UC4ObjectName name,
UC4ObjectName keyword)
Deprecated.
potentially dangerous as a keyword does not adhere to uc4objectName standards and skip_name_check is implicitly expected
|
| Modifier and Type | Method and Description |
|---|---|
CalendarCondition |
clone() |
static CalendarCondition |
create(java.lang.String name,
java.lang.String keyword)
This static method creates a new
CalendarCondition. |
boolean |
equals(java.lang.Object obj) |
UC4ObjectName |
getKeyword()
Returns the calendar keyword.
|
java.lang.String |
getKeywordAsString()
This method returns the keyword as String.
|
UC4ObjectName |
getName()
Returns the name of the Calendar.
|
int |
hashCode() |
java.lang.String |
toString() |
public CalendarCondition(CalendarList.CalendarListItem name, java.lang.String keyword)
CalendarCondition using the specified calendar name and keyword.
This constructor should be used if the calendar is in client 0.name - Name of the calendarkeyword - Keyword in the calendar@Deprecated public CalendarCondition(UC4ObjectName name, UC4ObjectName keyword)
CalendarCondition using the specified calendar name and keyword.name - Name of the calendarkeyword - Keyword in the calendarpublic CalendarCondition(UC4ObjectName name, java.lang.String keyword)
CalendarCondition using the specified calendar name and keyword.name - Name of the calendarkeyword - Keyword in the calendarpublic UC4ObjectName getKeyword()
public java.lang.String getKeywordAsString()
public UC4ObjectName getName()
public static CalendarCondition create(java.lang.String name, java.lang.String keyword)
CalendarCondition.name - Name of the Calendarkeyword - Keyword in the Calendarpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic CalendarCondition clone()
clone in class java.lang.Object