public class PlayerId
The user identifier.
Contains a (unique) id, a enum PlayerType and an optional clientId.
The clientId field is used in a "not mandatory logging" scenario, and to manage multi-platform dialogs.
A class PlayerId is equals to another class PlayerId if both id are equals.
enum PlayerType,
class PlayerId,
class PlayerIdpublic PlayerId(@NotNull
java.lang.String id,
@NotNull
PlayerType type,
@Nullable
java.lang.String clientId)
The user identifier.
Contains a (unique) id, a enum PlayerType and an optional clientId.
The clientId field is used in a "not mandatory logging" scenario, and to manage multi-platform dialogs.
A class PlayerId is equals to another class PlayerId if both id are equals.
id - The unique identifier of the player.type - The type of the player.clientId - The optional business client id.enum PlayerType,
class PlayerId,
class PlayerIdpublic boolean equals(@Nullable
java.lang.Object other)
public int hashCode()
@NotNull public java.lang.String getId()
The unique identifier of the player.
@NotNull public PlayerType getType()
The type of the player.
@Nullable public java.lang.String getClientId()
The optional business client id.
@NotNull public java.lang.String component1()
The unique identifier of the player.
@NotNull public PlayerType component2()
The type of the player.
@Nullable public java.lang.String component3()
The optional business client id.
@NotNull public PlayerId copy(@NotNull java.lang.String id, @NotNull PlayerType type, @Nullable java.lang.String clientId)
The user identifier.
Contains a (unique) id, a enum PlayerType and an optional clientId.
The clientId field is used in a "not mandatory logging" scenario, and to manage multi-platform dialogs.
A class PlayerId is equals to another class PlayerId if both id are equals.
enum PlayerType,
class PlayerId,
class PlayerId@NotNull public java.lang.String toString()
The user identifier.
Contains a (unique) id, a enum PlayerType and an optional clientId.
The clientId field is used in a "not mandatory logging" scenario, and to manage multi-platform dialogs.
A class PlayerId is equals to another class PlayerId if both id are equals.
enum PlayerType,
class PlayerId,
class PlayerId