public class ResultSetDestinations
extends java.lang.Object
Constructor and Description |
---|
ResultSetDestinations(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 destinations table.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> |
getData() |
int |
getDest_id() |
java.lang.String |
getDest_name() |
java.lang.String |
getDirection() |
java.lang.String |
getPreset() |
int |
getSlot() |
int |
getTardis_id() |
java.lang.String |
getWorld() |
int |
getX() |
int |
getY() |
int |
getZ() |
boolean |
isSubmarine() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the destinations table.
|
public ResultSetDestinations(TARDIS plugin, java.util.HashMap<java.lang.String,java.lang.Object> where, boolean multiple)
plugin
- an instance of the main class.where
- a HashMap<String, Object> of table fields and values to refine the search.multiple
- a boolean indicating whether multiple rows should be fetchedpublic boolean resultSet()
public int getDest_id()
public int getTardis_id()
public java.lang.String getDest_name()
public java.lang.String getWorld()
public int getX()
public int getY()
public int getZ()
public java.lang.String getDirection()
public java.lang.String getPreset()
public boolean isSubmarine()
public int getSlot()
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getData()