org.openfaces.component.timetable
Class AbstractTimetableEvent
java.lang.Object
org.openfaces.component.timetable.AbstractTimetableEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, org.openfaces.util.ConvertibleToJSON
- Direct Known Subclasses:
- ReservedTimeEvent, TimetableEvent
public abstract class AbstractTimetableEvent
- extends java.lang.Object
- implements org.openfaces.util.ConvertibleToJSON, java.lang.Cloneable, java.io.Serializable
Timetable id should uniquely identify an event among all other events of this timetable.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getResourceId
public java.lang.String getResourceId()
setResourceId
public void setResourceId(java.lang.String resourceId)
getStart
public java.util.Date getStart()
setStart
public void setStart(java.util.Date start)
getEnd
public java.util.Date getEnd()
setEnd
public void setEnd(java.util.Date end)
setCustomProperty
public void setCustomProperty(java.lang.String property,
java.lang.Object value)
getCustomProperty
public java.lang.Object getCustomProperty(java.lang.String property)
getCustomProperties
public java.util.Map<java.lang.String,java.lang.Object> getCustomProperties()
toJSONObject
public org.openfaces.org.json.JSONObject toJSONObject(java.util.Map params)
throws org.openfaces.org.json.JSONException
- Specified by:
toJSONObject
in interface org.openfaces.util.ConvertibleToJSON
- Throws:
org.openfaces.org.json.JSONException
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
copyStateFrom
public void copyStateFrom(AbstractTimetableEvent e)
Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.