org.placelab.test
Class TestMapper
java.lang.Object
org.placelab.mapper.SimpleMapper
org.placelab.test.TestMapper
- All Implemented Interfaces:
- Mapper
- public class TestMapper
- extends SimpleMapper
| Methods inherited from class org.placelab.mapper.SimpleMapper |
close, createBeacon, deleteAll, endBulkPuts, findBeacon, isOpened, iterator, open, putBeacon, putBeacons, query, startBulkPuts |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestMapper
public TestMapper()
addBluetoothBeacon
public void addBluetoothBeacon(java.lang.String address,
double lat,
double lon)
addBluetoothBeacon
public void addBluetoothBeacon(java.lang.String address,
TwoDCoordinate c)
addWiFiBeacon
public void addWiFiBeacon(java.lang.String id,
double lat,
double lon)
addWiFiBeacon
public void addWiFiBeacon(java.lang.String id,
TwoDCoordinate c)
addGSMBeacon
public void addGSMBeacon(java.lang.String cellid,
double latitude,
double longitude)
addGSMBeacon
public void addGSMBeacon(java.lang.String cellid,
TwoDCoordinate c)
findBeacons
public java.util.Vector findBeacons(java.lang.String id)
- Description copied from interface:
Mapper
- Find all Beacons in the Mapper that match the given id.
- Parameters:
id - the unique identifier for the Beacon
- Returns:
- a Vector of all Beacons matching the id in the Mapper
that may be empty if no Beacons match.
overrideOnPut
public boolean overrideOnPut()