Package de.xima.fc.user.mgmt.event
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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetFamilyName()The family name of the user.StringgetFirstName()The first name of the user.LonggetId()The unique ID of the user.StringgetPrimaryEmail()The primary email of the user.StringgetUserName()The username of the user.inthashCode()booleanisPrimaryEmailVerified()Whether the primary email is verified.StringtoString()
-
-
-
Constructor Detail
-
UserData
public UserData(Long id, String userName, String primaryEmail, boolean primaryEmailVerified, String firstName, String familyName)
Creates a newUserDatainstance.- 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 Detail
-
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.
-
-