Class UserData

java.lang.Object
de.xima.fc.user.mgmt.event.UserData
All Implemented Interfaces:
Serializable

public final class UserData extends Object implements Serializable
Basic data about a user.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Constructor Details

    • UserData

      public UserData(Long id, String userName, String primaryEmail, boolean primaryEmailVerified, String firstName, String familyName)
      Creates a new UserData instance.
      Parameters:
      id - The unique ID of the user.
      userName - The username of the user.
      primaryEmail - The primary email of the user.
      primaryEmailVerified - Whether the primary email is verified.
      firstName - The first name of the user.
      familyName - The family name of the user.
  • Method Details

    • getId

      public Long getId()
      The unique ID of the user.
    • getUserName

      public String getUserName()
      The username of the user.
    • getPrimaryEmail

      public String getPrimaryEmail()
      The primary email of the user.
    • isPrimaryEmailVerified

      public boolean isPrimaryEmailVerified()
      Whether the primary email is verified.
    • getFirstName

      public String getFirstName()
      The first name of the user.
    • getFamilyName

      public String getFamilyName()
      The family name of the user.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object