Example usage for com.mongodb BasicDBObject subclass-usage

List of usage examples for com.mongodb BasicDBObject subclass-usage

Introduction

In this page you can find the example usage for com.mongodb BasicDBObject subclass-usage.

Usage

From source file SensorData.java

@SuppressWarnings("serial")
public class SensorData extends BasicDBObject {
    private static final String SENSOR_NAME_KEY = "sensor";
    private static final String SENSOR_VALUE_KEY = "value";

    public SensorData(String name, Number value) {

From source file RFIDInfo.java

@SuppressWarnings("serial")
public class RFIDInfo extends BasicDBObject {
    private static final String RFID_TAG = "tag";
    private static final String RFID_TYPE = "type";
    private static final String RFID_DESCRIPTION = "description";
    private static final String RFID_IMAGE = "imageURL";

From source file SensorInfo.java

@SuppressWarnings("serial")
public class SensorInfo extends BasicDBObject {
    private static final String SENSOR_NAME_KEY = "sensor";
    private static final String SENSOR_TYPE_KEY = "type";
    private static final String SENSOR_DESCRIPTION_KEY = "description";
    private static final String SENSOR_UNIT_KEY = "unit";

From source file com.aw.model.objects.BarrackTroops.java

/**
 *
 * @author iftikhar
 */
public class BarrackTroops extends BasicDBObject {
    private long bcId;

From source file com.aw.model.objects.Battle.java

/**
 *
 * @author iftikhar
 */
public class Battle extends BasicDBObject {
    private long battledId;

From source file com.aw.model.objects.BattleBuilding.java

/**
 *
 * @author iftikhar
 */
public class BattleBuilding extends BasicDBObject {
    private long battleBuildingId;

From source file com.aw.model.objects.BattleTroops.java

/**
 *
 * @author iftikhar
 */
public class BattleTroops extends BasicDBObject {
    private long battleTroopId;

From source file com.aw.model.objects.BuildingArmy.java

/**
 *
 * @author iftikhar
 */
public class BuildingArmy extends BasicDBObject {
    private long building_army_id;

From source file com.aw.model.objects.BuildingBase.java

/**
 *
 * @author iftikhar
 */
public class BuildingBase extends BasicDBObject {
    private long buildingId;

From source file com.aw.model.objects.BuildingClasses.java

/**
 *
 * @author iftikhar
 */
public class BuildingClasses extends BasicDBObject {
    private long buildingClassId;