Class Moderator
java.lang.Object
com.openmeet.webapp.dataLayer.moderator.Moderator
- All Implemented Interfaces:
com.openmeet.shared.data.storage.IEntity
This class represents the Moderator Entity.
- See Also:
-
IEntity
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Returns the Moderator email.intgetId()Returns the Moderator id.Returns the Moderator name.Returns the Moderator surname.Returns the Moderator profile picture path.getPwd()Returns the Moderator password encrypted with SHA1.voidSets the Moderator email.voidsetId(int id) Sets the Moderator id.voidsetModeratorName(String moderatorName) Sets the Moderator name.voidsetModeratorSurname(String moderatorSurname) Sets the Moderator surname.voidsetProfilePic(String profilePic) Sets the Moderator profile picture path.voidSets the Moderator password encrypted with SHA1.Returns the Moderator as an hashMap.Returns the Moderator as an hashMap.toString()
-
Field Details
-
MODERATOR
- See Also:
-
MODERATOR_ID
- See Also:
-
MODERATOR_EMAIL
- See Also:
-
MODERATOR_MODERATOR_NAME
- See Also:
-
MODERATOR_MODERATOR_SURNAME
- See Also:
-
MODERATOR_PWD
- See Also:
-
MODERATOR_PROFILE_PIC
- See Also:
-
-
Constructor Details
-
Moderator
public Moderator()
-
-
Method Details
-
toHashMap
Returns the Moderator as an hashMap.- Specified by:
toHashMapin interfacecom.openmeet.shared.data.storage.IEntity- Returns:
- the Moderator as an hashMap.
- See Also:
-
IEntity
-
toHashMap
Returns the Moderator as an hashMap.- Specified by:
toHashMapin interfacecom.openmeet.shared.data.storage.IEntity- Parameters:
fields- the fields to be returned.- Returns:
- the Moderator as an hashMap.
- See Also:
-
IEntity
-
toString
-
getId
public int getId()Returns the Moderator id.- Returns:
- the Moderator id.
-
setId
public void setId(int id) Sets the Moderator id.- Parameters:
id- the Moderator id.
-
getEmail
Returns the Moderator email.- Returns:
- the Moderator email.
-
setEmail
Sets the Moderator email.- Parameters:
email- the Moderator email.
-
getModeratorName
Returns the Moderator name.- Returns:
- the Moderator name.
-
setModeratorName
Sets the Moderator name.- Parameters:
moderatorName- the Moderator name.
-
getModeratorSurname
Returns the Moderator surname.- Returns:
- the Moderator surname.
-
setModeratorSurname
Sets the Moderator surname.- Parameters:
moderatorSurname- the Moderator surname.
-
getPwd
Returns the Moderator password encrypted with SHA1.- Returns:
- the Moderator password.
-
setPwd
Sets the Moderator password encrypted with SHA1.- Parameters:
pwd- the Moderator password.
-
getProfilePic
Returns the Moderator profile picture path.- Returns:
- the Moderator profile picture path.
-
setProfilePic
Sets the Moderator profile picture path.- Parameters:
profilePic- the Moderator profile picture path.
-