public class ResultSetControls
extends java.lang.Object
Control types: 0 = handbrake 1 = random button 2 = x-repeater 3 = z-repeater 4 = multiplier-repeater 5 = environment-repeater 6 = artron button
Constructor and Description |
---|
ResultSetControls(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 controls table.
|
Modifier and Type | Method and Description |
---|---|
int |
getC_id() |
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> |
getData() |
java.lang.String |
getLocation() |
int |
getSecondary() |
int |
getTardis_id() |
int |
getType() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the controls table.
|
public ResultSetControls(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 getC_id()
public int getTardis_id()
public int getType()
public java.lang.String getLocation()
public int getSecondary()
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getData()