Class Moderator

java.lang.Object
com.openmeet.webapp.dataLayer.moderator.Moderator
All Implemented Interfaces:
com.openmeet.shared.data.storage.IEntity

public class Moderator extends Object implements com.openmeet.shared.data.storage.IEntity
This class represents the Moderator Entity.
See Also:
  • IEntity
  • Field Details

  • Constructor Details

    • Moderator

      public Moderator()
  • Method Details

    • toHashMap

      public HashMap<String,?> toHashMap()
      Returns the Moderator as an hashMap.
      Specified by:
      toHashMap in interface com.openmeet.shared.data.storage.IEntity
      Returns:
      the Moderator as an hashMap.
      See Also:
      • IEntity
    • toHashMap

      public HashMap<String,?> toHashMap(String... fields)
      Returns the Moderator as an hashMap.
      Specified by:
      toHashMap in interface com.openmeet.shared.data.storage.IEntity
      Parameters:
      fields - the fields to be returned.
      Returns:
      the Moderator as an hashMap.
      See Also:
      • IEntity
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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

      public String getEmail()
      Returns the Moderator email.
      Returns:
      the Moderator email.
    • setEmail

      public void setEmail(String email)
      Sets the Moderator email.
      Parameters:
      email - the Moderator email.
    • getModeratorName

      public String getModeratorName()
      Returns the Moderator name.
      Returns:
      the Moderator name.
    • setModeratorName

      public void setModeratorName(String moderatorName)
      Sets the Moderator name.
      Parameters:
      moderatorName - the Moderator name.
    • getModeratorSurname

      public String getModeratorSurname()
      Returns the Moderator surname.
      Returns:
      the Moderator surname.
    • setModeratorSurname

      public void setModeratorSurname(String moderatorSurname)
      Sets the Moderator surname.
      Parameters:
      moderatorSurname - the Moderator surname.
    • getPwd

      public String getPwd()
      Returns the Moderator password encrypted with SHA1.
      Returns:
      the Moderator password.
    • setPwd

      public void setPwd(String pwd)
      Sets the Moderator password encrypted with SHA1.
      Parameters:
      pwd - the Moderator password.
    • getProfilePic

      public String getProfilePic()
      Returns the Moderator profile picture path.
      Returns:
      the Moderator profile picture path.
    • setProfilePic

      public void setProfilePic(String profilePic)
      Sets the Moderator profile picture path.
      Parameters:
      profilePic - the Moderator profile picture path.