|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.calendar.Calendar
public class Calendar
An object representing a calendar item with all the information supported by Funambol it contains. This is the "foundational model" of a calendar item, used to exchange information about such items between server and connectors. It can also be used by clients.
Constructor Summary | |
---|---|
Calendar()
Creates an empty calendar with no calendar content. |
|
Calendar(CalendarContent cc)
Creates an empty calendar with the given calendar content. |
Method Summary | |
---|---|
void |
addXTag(XTag xTag)
Adder for xTags list. |
CalendarContent |
getCalendarContent()
Gets the calendar content: either an Event or a Task. |
Property |
getCalScale()
Returns the calendar scale of this calendar. |
Event |
getEvent()
Returns the event contained in this calendar. |
Property |
getMethod()
Returns the "object method or transaction semantics" of this calendar. |
Property |
getProdId()
Returns the product ID of this calendar. |
Task |
getTask()
Returns the task contained in this calendar. |
Property |
getVersion()
Returns the version of this calendar. |
java.util.List<XTag> |
getXTags()
Returns the XTag objects, representing custom properties, contained in this calendar. |
void |
setCalendarContent(CalendarContent cc)
Sets the calendar content: either an Event or a Task. |
void |
setCalScale(Property calScale)
Setter for property calScale. |
void |
setEvent(Event event)
Setter for property event. |
void |
setMethod(Property method)
Setter for property method. |
void |
setProdId(Property prodId)
Setter for property prodId. |
void |
setTask(Task todo)
Setter for property task. |
void |
setVersion(Property version)
Setter for property version. |
void |
setXTags(java.util.List xTags)
Setter for property xTags. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Calendar()
public Calendar(CalendarContent cc)
cc
- the event or task containedMethod Detail |
---|
public Property getProdId()
public Property getVersion()
public Property getCalScale()
public Property getMethod()
public Event getEvent()
public Task getTask()
public java.util.List<XTag> getXTags()
public java.lang.String toString()
toString
in class java.lang.Object
public void setEvent(Event event)
event
- new value of property event.public void setTask(Task todo)
todo
- new value of property task.public void setCalScale(Property calScale)
calScale
- new value of property calScalepublic void setMethod(Property method)
method
- new value of property methodpublic void setProdId(Property prodId)
prodId
- new value of property prodIdpublic void setVersion(Property version)
version
- new value of property versionpublic void setXTags(java.util.List xTags)
xTags
- new value of property xTags (must be a Listpublic void addXTag(XTag xTag)
xTag
- the tag to addpublic CalendarContent getCalendarContent()
public void setCalendarContent(CalendarContent cc)
cc
- a CalendarContent object (Event or Task)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |