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 org.datavyu.models.db.MongoCell.java

public class MongoCell extends BasicDBObject implements Cell {
    DBCollection matrix_value_collection = MongoDatastore.getDB().getCollection("matrix_values");
    DBCollection nominal_value_collection = MongoDatastore.getDB().getCollection("nominal_values");
    DBCollection text_value_collection = MongoDatastore.getDB().getCollection("text_values");

    BasicDBObject index = new BasicDBObject("onset", 1);

From source file org.datavyu.models.db.MongoValue.java

public abstract class MongoValue extends BasicDBObject implements Value, Serializable, Comparable<MongoValue> {

    String value;

    @Override
    public boolean isValid(final String value) {

From source file org.datavyu.models.db.MongoVariable.java

/**
 * Maps a variable object to a mongo powered datastore.
 */
public final class MongoVariable extends BasicDBObject implements Variable {
    // All the listeners for variables in teh datastore.
    static Map<ObjectId, List<VariableListener>> allListeners = new HashMap<ObjectId, List<VariableListener>>();

From source file org.flywaydb.core.internal.metadatatable.MetaDataDocument.java

public class MetaDataDocument extends BasicDBObject {

    /** Names of the fields in the MongoDB MetaData Collection. */
    static final String INSTALLED_RANK = "installed_rank";
    static final String VERSION = "version";
    static final String DESCRIPTION = "description";

From source file org.gitective.mongo.IdObject.java

/**
 * Simple id object
 */
public class IdObject extends BasicDBObject {

    /** serialVersionUID */

From source file org.glassfish.cdinosqldemo.Address.java

/**
 * Address, stored as part of the Order document.
 */
public class Address extends BasicDBObject {

    private static final long serialVersionUID = 1L;

From source file org.glassfish.cdinosqldemo.Customer.java

/**
 * Customer, stored as a root JSON object.
 */
public class Customer extends BasicDBObject {

    private static final long serialVersionUID = 1L;

From source file org.glassfish.cdinosqldemo.Order.java

/**
 * Order, stored as a root JSON object, nesting its order lines in the same
 * document.
 */
public class Order extends BasicDBObject {

From source file org.glassfish.cdinosqldemo.OrderLine.java

/**
 * OrderLine, stored as part of the Order document.
 */
public class OrderLine extends BasicDBObject {

    private static final long serialVersionUID = 1L;

From source file org.jongo.stream.JacksonDBObject.java

/**
 * A Jackson DBObject.  Extends BasicDBObject so that it can hold error code fields and similar.
 *
 * @author James Roper
 * @since 1.1.2
 */