Package org.sakaiproject.signup.model
Class SignupSite
- java.lang.Object
-
- org.sakaiproject.signup.model.SignupSite
-
public class SignupSite extends Object
This class holds the information for signup site. This object is mapped directly to the DB storage by Hibernate
-
-
Constructor Summary
Constructors Constructor Description SignupSite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)check if the two SignupSite object are equalStringgetCalendarEventId()get the Calendar Event IdStringgetCalendarId()get the Calendar IdLonggetId()get the sequence Id, which is generated by DBList<SignupGroup>getSignupGroups()get a list of SignupGroup objects, which belong to the siteStringgetSiteId()get the Site id, which is a sakai unique site IdStringgetTitle()get the title of the siteinthashCode()booleanisSiteScope()check if the event/meeting is a site scope-widevoidsetCalendarEventId(String calendarEventId)this is a settervoidsetCalendarId(String calendarId)this is a settervoidsetId(Long id)this is a settervoidsetSignupGroups(List<SignupGroup> signupGroup)this is a settervoidsetSiteId(String siteId)this is a settervoidsetTitle(String title)this is a setter
-
-
-
Method Detail
-
getCalendarEventId
public String getCalendarEventId()
get the Calendar Event Id- Returns:
- the Calendar Event Id
-
setCalendarEventId
public void setCalendarEventId(String calendarEventId)
this is a setter- Parameters:
calendarEventId- the Calendar Event Id
-
getCalendarId
public String getCalendarId()
get the Calendar Id- Returns:
- the Calendar Id
-
setCalendarId
public void setCalendarId(String calendarId)
this is a setter- Parameters:
calendarId- the Calendar Id
-
getId
public Long getId()
get the sequence Id, which is generated by DB- Returns:
- the sequence Id
-
setId
public void setId(Long id)
this is a setter- Parameters:
id- the sequence Id
-
getSignupGroups
public List<SignupGroup> getSignupGroups()
get a list of SignupGroup objects, which belong to the site- Returns:
- a list of SignupGroup objects
-
setSignupGroups
public void setSignupGroups(List<SignupGroup> signupGroup)
this is a setter- Parameters:
signupGroup- a list of SignupGroup objects
-
getSiteId
public String getSiteId()
get the Site id, which is a sakai unique site Id- Returns:
- the unique site Id
-
setSiteId
public void setSiteId(String siteId)
this is a setter- Parameters:
siteId- the unique site Id
-
getTitle
public String getTitle()
get the title of the site- Returns:
- the name of the site
-
setTitle
public void setTitle(String title)
this is a setter- Parameters:
title- the name of the site
-
isSiteScope
public boolean isSiteScope()
check if the event/meeting is a site scope-wide- Returns:
- true if the event/meeting is a site scope-wide
-
equals
public boolean equals(Object object)
check if the two SignupSite object are equal
-
-