public class ResultSetPaperBag
extends java.lang.Object
Constructor and Description |
---|
ResultSetPaperBag(TARDIS plugin,
java.util.UUID uuid)
Creates a class instance that can be used to retrieve an SQL ResultSet from the count table.
|
Modifier and Type | Method and Description |
---|---|
int |
getAmount1() |
int |
getAmount2() |
int |
getAmount3() |
int |
getAmount4() |
java.lang.String |
getFlavour1() |
java.lang.String |
getFlavour2() |
java.lang.String |
getFlavour3() |
java.lang.String |
getFlavour4() |
java.lang.String |
getJellyBaby()
Retrieves a paper bag record and selects a random jelly baby
|
int |
getPaperBagID() |
java.util.UUID |
getUuid() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the lamps table.
|
public ResultSetPaperBag(TARDIS plugin, java.util.UUID uuid)
plugin
- an instance of the main class.uuid
- a player's UUID to refine the search.public boolean resultSet()
public java.lang.String getJellyBaby()
public int getPaperBagID()
public java.util.UUID getUuid()
public java.lang.String getFlavour1()
public int getAmount1()
public java.lang.String getFlavour2()
public int getAmount2()
public java.lang.String getFlavour3()
public int getAmount3()
public java.lang.String getFlavour4()
public int getAmount4()