public class ResultSetDoors
extends java.lang.Object
Constructor and Description |
---|
ResultSetDoors(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 doors table.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> |
getData() |
COMPASS |
getDoor_direction() |
int |
getDoor_id() |
java.lang.String |
getDoor_location() |
int |
getDoor_type() |
int |
getTardis_id() |
boolean |
isLocked() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the doors table.
|
public ResultSetDoors(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 setting whether to retrieve more than on record, it true returns an ArrayList that can
be looped through later.public boolean resultSet()
public int getDoor_id()
public int getTardis_id()
public int getDoor_type()
public java.lang.String getDoor_location()
public COMPASS getDoor_direction()
public boolean isLocked()
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getData()