Class WorldTimesTable.Row
java.lang.Object
com.djrapitops.plan.storage.database.sql.tables.WorldTimesTable.Row
- All Implemented Interfaces:
ServerIdentifiable,UserIdentifiable,WorldIdentifiable
- Enclosing class:
WorldTimesTable
public static class WorldTimesTable.Row
extends Object
implements ServerIdentifiable, UserIdentifiable, WorldIdentifiable
-
Field Summary
FieldsModifier and TypeFieldDescriptionlonglongintintintlonglongintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorldTimesTable.Rowintintintvoidinsert(PreparedStatement statement) voidsetServerId(int serverId) voidsetUserId(int userId) voidsetWorldId(int worldId)
-
Field Details
-
id
public int id -
sessionId
public int sessionId -
serverId
public int serverId -
userId
public int userId -
worldId
public int worldId -
survivalTime
public long survivalTime -
creativeTime
public long creativeTime -
adventureTime
public long adventureTime -
spectatorTime
public long spectatorTime
-
-
Constructor Details
-
Row
public Row()
-
-
Method Details
-
extract
- Throws:
SQLException
-
getServerId
public int getServerId()- Specified by:
getServerIdin interfaceServerIdentifiable
-
setServerId
public void setServerId(int serverId) - Specified by:
setServerIdin interfaceServerIdentifiable
-
getUserId
public int getUserId()- Specified by:
getUserIdin interfaceUserIdentifiable
-
setUserId
public void setUserId(int userId) - Specified by:
setUserIdin interfaceUserIdentifiable
-
getWorldId
public int getWorldId()- Specified by:
getWorldIdin interfaceWorldIdentifiable
-
setWorldId
public void setWorldId(int worldId) - Specified by:
setWorldIdin interfaceWorldIdentifiable
-
insert
- Throws:
SQLException
-