public class ResultSetAchievements
extends java.lang.Object
Constructor and Description |
---|
ResultSetAchievements(TARDIS plugin,
java.util.HashMap<java.lang.String,java.lang.Object> where,
boolean multiple)
Creates a class instance that can be used to retrieve an SQL ResultSet from the achievements table.
|
Modifier and Type | Method and Description |
---|---|
int |
getA_id() |
java.lang.String |
getAmount() |
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> |
getData() |
java.lang.String |
getName() |
java.util.UUID |
getUuid() |
boolean |
isCompleted() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the achievements table.
|
public ResultSetAchievements(TARDIS plugin, java.util.HashMap<java.lang.String,java.lang.Object> where, boolean multiple)
plugin
- an instance of the main class.where
- a String location to check.multiple
- a boolean setting whether to retrieve more than on record, it true returns an ArrayList that can
be looped through later.public boolean resultSet()
public int getA_id()
public java.util.UUID getUuid()
public java.lang.String getName()
public java.lang.String getAmount()
public boolean isCompleted()
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getData()