Class UserInfo
- java.lang.Object
-
- com.djrapitops.plan.gathering.domain.UserInfo
-
public class UserInfo extends java.lang.Object
Represents user information stored in plan_user_info.Unlike
BaseUser
one instance is stored per server for a single player. Proxy servers are an exception, and UserInfo is not stored for them.
-
-
Constructor Summary
Constructors Constructor Description UserInfo(java.util.UUID playerUUID, java.util.UUID serverUUID, long registered, boolean opped, java.lang.String hostname, boolean banned)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getHostname()
java.util.UUID
getPlayerUuid()
long
getRegistered()
java.util.UUID
getServerUUID()
int
hashCode()
boolean
isBanned()
boolean
isOperator()
java.lang.String
toString()
-
-
-
Method Detail
-
getPlayerUuid
public java.util.UUID getPlayerUuid()
-
getServerUUID
public java.util.UUID getServerUUID()
-
getHostname
public java.lang.String getHostname()
-
getRegistered
public long getRegistered()
-
isBanned
public boolean isBanned()
-
isOperator
public boolean isOperator()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-