|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.CalendarHeader
This class hosts the attributes to be shown in TWS external interfaces when listing calendars.
Calendar
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
CalendarHeader()
Creates an empty CalendarHeader. |
|
CalendarHeader(CalendarKey calendarKey)
Creates a CalendarHeader with the specified key. |
|
CalendarHeader(Identifier calendarId)
Creates a CalendarHeader with the specified identifier. |
|
CalendarHeader(Identifier calendarId,
CalendarKey calendarKey)
Creates a CalendarHeader with the specified identifier and key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this CalendarHeader object are equal to those of the given one. |
java.lang.String |
getDescription()
Returns the calendar description. |
Identifier |
getId()
Returns the calendar identifier. |
CalendarKey |
getKey()
Returns the CalendarKey wrapped by this CalendarHeader object. |
LockData |
getLockData()
Returns the calendar lock data. |
ModifyData |
getModifyData()
Returns the calendar modification data. |
java.lang.String |
getName()
Returns the calendar name. |
TWSKey |
getObjectKey()
Returns the calendar key as a TWS key. |
int |
hashCode()
Returns a hash code for this CalendarHeader object. |
void |
setDescription(java.lang.String value)
Sets the calendar description. |
void |
setId(Identifier identifier)
Sets the calendar identifier. |
void |
setKey(CalendarKey calendarKey)
Sets the CalendarKey to be wrapped by this CalendarHeader object. |
void |
setLockData(LockData data)
Sets the calendar lock data. |
void |
setModifyData(ModifyData data)
Sets the calendar modification data. |
void |
setName(java.lang.String value)
Sets the calendar name. |
java.lang.String |
toString()
Returns a string representation of this CalendarHeader object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CalendarHeader()
public CalendarHeader(Identifier calendarId)
calendarId
- The calendar identifier.public CalendarHeader(CalendarKey calendarKey)
calendarKey
- The calendar key.public CalendarHeader(Identifier calendarId, CalendarKey calendarKey)
calendarId
- The calendar identifier.calendarKey
- The calendar key.Method Detail |
public Identifier getId()
getId
in interface TWSHeader
public TWSKey getObjectKey()
getObjectKey
in interface TWSHeader
public CalendarKey getKey()
public java.lang.String getName()
getName
in interface TWSHeader
public java.lang.String getDescription()
public ModifyData getModifyData()
getModifyData
in interface TWSHeader
public LockData getLockData()
getLockData
in interface TWSHeader
public void setId(Identifier identifier)
identifier
- The calendar identifier.public void setKey(CalendarKey calendarKey)
calendarKey
- The CalendarKey to be wrapped by this CalendarHeader object.public void setName(java.lang.String value)
value
- The calendar name.public void setDescription(java.lang.String value)
value
- The calendar description.public void setModifyData(ModifyData data)
data
- A ModifyData object.public void setLockData(LockData data)
data
- A LockData object.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |