public class AccountDataImpl extends java.lang.Object implements AccountData
AccountData
for internal usage only.Constructor and Description |
---|
AccountDataImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.util.UUID> |
getBedrockId()
Returns the registered bedrock ID of this account.
|
java.time.Instant |
getCreationDate()
Returns the creation date of this account.
|
java.util.Optional<java.lang.String> |
getDiscordId()
Returns the registered discord id of this account.
|
java.util.Optional<java.lang.String> |
getEmail()
Returns the registered email of this account.
|
java.util.Optional<java.lang.String> |
getHashedPassword()
Returns the registered hashed password of this account.
|
java.util.Optional<java.lang.Long> |
getId()
Returns the registered id of this account.
|
java.lang.String |
getLastIP()
Returns the registered last IP address of this account.
|
java.time.Instant |
getLastLogin()
Returns the last login of this account.
|
java.lang.String |
getLastName()
Returns the registered last name of this account.
|
java.util.Optional<java.util.UUID> |
getMojangId()
Returns the registered Mojang ID of this account.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSettings()
Returns the settings of this account.
|
AccountType |
getType()
Returns the type of this account.
|
java.util.Optional<java.util.UUID> |
getUniqueId()
Returns the registered unique ID of this account.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparePassword, getLanguage, getLastAddress
public java.util.Optional<java.lang.Long> getId()
AccountData
getId
in interface AccountData
@Nonnull public AccountType getType()
AccountData
getType
in interface AccountData
@Nonnull public java.lang.String getLastName()
AccountData
getLastName
in interface AccountData
public java.util.Optional<java.util.UUID> getUniqueId()
AccountData
getUniqueId
in interface AccountData
public java.util.Optional<java.util.UUID> getMojangId()
AccountData
getMojangId
in interface AccountData
public java.util.Optional<java.util.UUID> getBedrockId()
AccountData
getBedrockId
in interface AccountData
public java.util.Optional<java.lang.String> getHashedPassword()
AccountData
getHashedPassword
in interface AccountData
@Nonnull public java.lang.String getLastIP()
AccountData
getLastIP
in interface AccountData
@Nonnull public java.time.Instant getLastLogin()
AccountData
getLastLogin
in interface AccountData
@Nonnull public java.time.Instant getCreationDate()
AccountData
getCreationDate
in interface AccountData
public java.util.Optional<java.lang.String> getEmail()
AccountData
getEmail
in interface AccountData
public java.util.Optional<java.lang.String> getDiscordId()
AccountData
getDiscordId
in interface AccountData
@Nonnull public java.util.Map<java.lang.String,java.lang.Object> getSettings()
AccountData
getSettings
in interface AccountData