Class UserBean


  • public class UserBean
    extends Object
    A user to create when servers start
    • Constructor Detail

      • UserBean

        public UserBean​(String email,
                        String login,
                        String password)
        Initialize user
        Parameters:
        email - the user email.
        login - the user login.
        password - the user password.
    • Method Detail

      • getEmail

        public String getEmail()
        Returns:
        Email address of mailbox
      • getLogin

        public String getLogin()
        Returns:
        Login name of user
      • getPassword

        public String getPassword()
        Returns:
        Password of user that belongs to login name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object