public class ResultSetAreas
extends java.lang.Object
Constructor and Description |
---|
ResultSetAreas(TARDIS plugin,
java.util.HashMap<java.lang.String,java.lang.Object> where,
boolean multiple,
boolean onlynames)
Creates a class instance that can be used to retrieve an SQL ResultSet from the areas table.
|
Modifier and Type | Method and Description |
---|---|
Area |
getArea() |
java.util.List<Area> |
getData() |
java.util.List<java.lang.String> |
getNames() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the areas table.
|
public ResultSetAreas(TARDIS plugin, java.util.HashMap<java.lang.String,java.lang.Object> where, boolean multiple, boolean onlynames)
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 fetchedonlynames
- a boolean indicating whether to fetch a list of area namespublic boolean resultSet()
public Area getArea()
public java.util.List<Area> getData()
public java.util.List<java.lang.String> getNames()