public class CalendarCondition
extends java.lang.Object
implements java.lang.Cloneable
Modifier | Constructor and Description |
---|---|
|
CalendarCondition(CalendarList.CalendarListItem name,
java.lang.String keyword)
Constructs a new
CalendarCondition using the specified calendar name and keyword. |
protected |
CalendarCondition(org.w3c.dom.Element cale) |
|
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) |
java.lang.String |
getId()
Returns the oh_idnr of the Calendar.
|
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() |
protected void |
store(org.w3c.dom.Element cale) |
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 calendarprotected CalendarCondition(org.w3c.dom.Element cale)
public 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 java.lang.String getId()
protected void store(org.w3c.dom.Element cale)
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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public CalendarCondition clone()
clone
in class java.lang.Object