Constructor and Description |
---|
CalendarCondition(CalendarList.CalendarListItem name,
String keyword)
Constructs a new
CalendarCondition using the specified calendar name and keyword. |
CalendarCondition(UC4ObjectName name,
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(String name,
String keyword)
This static method creates a new
CalendarCondition . |
boolean |
equals(Object obj) |
String |
getId()
Returns the oh_idnr of the Calendar.
|
UC4ObjectName |
getKeyword()
Returns the calendar keyword.
|
String |
getKeywordAsString()
This method returns the keyword as String.
|
UC4ObjectName |
getName()
Returns the name of the Calendar.
|
int |
hashCode() |
String |
toString() |
public CalendarCondition(CalendarList.CalendarListItem name, 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, String keyword)
CalendarCondition
using the specified calendar name and keyword.name
- Name of the calendarkeyword
- Keyword in the calendarpublic UC4ObjectName getKeyword()
public String getKeywordAsString()
public UC4ObjectName getName()
public String getId()
public static CalendarCondition create(String name, String keyword)
CalendarCondition
.name
- Name of the Calendarkeyword
- Keyword in the Calendarpublic CalendarCondition clone()
Copyright © 2021. All rights reserved.