public class ResultSetGravity
extends java.lang.Object
Constructor and Description |
---|
ResultSetGravity(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 gravity_well table.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> |
getData() |
int |
getDirection() |
double |
getDistance() |
int |
getGravity_id() |
java.lang.String |
getLocation() |
int |
getTardis_id() |
double |
getVelocity() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the doors table.
|
public ResultSetGravity(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
- boolean determining whether to return multiple recordspublic boolean resultSet()
public int getGravity_id()
public int getTardis_id()
public java.lang.String getLocation()
public int getDirection()
public double getDistance()
public double getVelocity()
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getData()