com.tilab.fiware.metaware.dao.impls.mongodb.domain.DatasetStructure.java Source code

Java tutorial

Introduction

Here is the source code for com.tilab.fiware.metaware.dao.impls.mongodb.domain.DatasetStructure.java

Source

/*
 * Copyright (C) 2015 Telecom Italia S.p.A.
 *
 * This file is part of Metaware.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Author: Marco Terrinoni marco.terrinoni at consoft.it
 */
package com.tilab.fiware.metaware.dao.impls.mongodb.domain;

import com.mongodb.BasicDBObject;
import java.util.Map;

/**
 * Embedded document for Dataset class. This is an internal field for dataset's metadata object.
 *
 * The BasicDBObject extension allows a better flexibility with non-fixed fields.
 *
 * @author Marco Terrinoni marco.terrinoni at consoft.it
 */
public class DatasetStructure extends BasicDBObject {

    /**
     * Empty constructor.
     */
    public DatasetStructure() {
    }

    /**
     * Full constructor.
     *
     * This constructor will use the constructor for BasicDBObject, which takes a Map as input and
     * extends to an object that can be handled by MongoDB.
     *
     * @param m the map that will be used to build the object.
     */
    public DatasetStructure(Map m) {
        super(m);
    }

}