Class UserEntity

  • All Implemented Interfaces:
    Row

    public class UserEntity
    extends Entity
    The user entity.
    • Constructor Detail

      • UserEntity

        public UserEntity​(String username,
                          String lastName,
                          String firstName,
                          String displayName,
                          String email,
                          boolean active)
        Instantiates a new User.
        Parameters:
        username - the username
        lastName - the last name
        firstName - the first name
        displayName - the display name
        email - the email
        active - the active flag
    • Method Detail

      • getUsername

        public String getUsername()
        Gets username.
        Returns:
        the username
      • getLastName

        public String getLastName()
        Gets last name.
        Returns:
        the last name
      • getFirstName

        public String getFirstName()
        Gets first name.
        Returns:
        the first name
      • getDisplayName

        public String getDisplayName()
        Gets display name.
        Returns:
        the display name
      • getEmail

        public String getEmail()
        Gets email.
        Returns:
        the email
      • isActive

        public boolean isActive()
        Check if user is active.
        Returns:
        the boolean