Package com.uc4.api.objects
Class CalendarCondition
java.lang.Object
com.uc4.api.objects.CalendarCondition
- All Implemented Interfaces:
Cloneable
This class represents a calendar condition.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCalendarCondition
(UC4ObjectName name, UC4ObjectName keyword) Deprecated.potentially dangerous as a keyword does not adhere to uc4objectName standards and skip_name_check is implicitly expectedCalendarCondition
(UC4ObjectName name, String keyword) Constructs a newCalendarCondition
using the specified calendar name and keyword.CalendarCondition
(CalendarList.CalendarListItem name, String keyword) Constructs a newCalendarCondition
using the specified calendar name and keyword.protected
CalendarCondition
(Element cale) -
Method Summary
Modifier and TypeMethodDescriptionclone()
static CalendarCondition
This static method creates a newCalendarCondition
.boolean
getId()
Returns the oh_idnr of the Calendar.Returns the calendar keyword.This method returns the keyword as String.getName()
Returns the name of the Calendar.int
hashCode()
protected void
toString()
-
Constructor Details
-
CalendarCondition
Constructs a newCalendarCondition
using the specified calendar name and keyword. This constructor should be used if the calendar is in client 0.- Parameters:
name
- Name of the calendarkeyword
- Keyword in the calendar
-
CalendarCondition
Deprecated.potentially dangerous as a keyword does not adhere to uc4objectName standards and skip_name_check is implicitly expectedConstructs a newCalendarCondition
using the specified calendar name and keyword.- Parameters:
name
- Name of the calendarkeyword
- Keyword in the calendar
-
CalendarCondition
-
CalendarCondition
Constructs a newCalendarCondition
using the specified calendar name and keyword.- Parameters:
name
- Name of the calendarkeyword
- Keyword in the calendar
-
-
Method Details
-
getKeyword
Returns the calendar keyword.- Returns:
- Calendar keyword
-
getKeywordAsString
This method returns the keyword as String.- Returns:
- Calendar keyword
-
getName
Returns the name of the Calendar.- Returns:
- Calendar name
-
getId
Returns the oh_idnr of the Calendar.- Returns:
- oh_idnr as string
-
store
-
create
This static method creates a newCalendarCondition
.- Parameters:
name
- Name of the Calendarkeyword
- Keyword in the Calendar- Returns:
- CalendarCondition
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
-