Class Event
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.monthcalendar.Event
-
public class Event extends Object
this class allows to convert objects into object "Event" usable by the monthCalendar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
compareTo(Event evt)
to compare the event with an other event this method return true if the event parameter span the same day, false else ifString
getColor()
Date
getEndDate()
Method declarationString
getEndHour()
String
getId()
************************String
getInstanceId()
String
getName()
Method declarationString
getPlace()
int
getPriority()
Method declarationDate
getStartDate()
Method declarationString
getStartHour()
String
getTooltip()
String
getUrl()
Method declarationvoid
setColor(String color)
void
setEndDate(Date date)
Method declarationvoid
setEndHour(String string)
void
setInstanceId(String instanceId)
Get the InstanceId of the Eventvoid
setPlace(String string)
void
setPriority(int p)
Method declarationvoid
setStartDate(Date date)
Method declarationvoid
setStartHour(String string)
void
setTooltip(String tooltip)
-
-
-
Method Detail
-
getId
public String getId()
************************
-
getName
public String getName()
Method declaration- Returns:
-
getStartDate
public Date getStartDate()
Method declaration- Returns:
-
setStartDate
public void setStartDate(Date date)
Method declaration- Parameters:
date
-
-
getEndDate
public Date getEndDate()
Method declaration- Returns:
-
setEndDate
public void setEndDate(Date date)
Method declaration- Parameters:
date
-
-
getUrl
public String getUrl()
Method declaration- Returns:
-
setPriority
public void setPriority(int p)
Method declaration- Parameters:
p
-
-
getPriority
public int getPriority()
Method declaration- Returns:
-
compareTo
public boolean compareTo(Event evt)
to compare the event with an other event this method return true if the event parameter span the same day, false else if- Returns:
- boolean
-
getEndHour
public String getEndHour()
- Returns:
-
getPlace
public String getPlace()
- Returns:
-
getStartHour
public String getStartHour()
- Returns:
-
setEndHour
public void setEndHour(String string)
- Parameters:
string
-
-
setPlace
public void setPlace(String string)
- Parameters:
string
-
-
setStartHour
public void setStartHour(String string)
- Parameters:
string
-
-
getColor
public String getColor()
- Returns:
-
setColor
public void setColor(String color)
-
getInstanceId
public String getInstanceId()
- Returns:
- instanceId
-
setInstanceId
public void setInstanceId(String instanceId)
Get the InstanceId of the Event- Parameters:
instanceId
-
-
getTooltip
public String getTooltip()
-
setTooltip
public void setTooltip(String tooltip)
-
-