Code coverage report for api/datum/DatumTag.js

Statements: 100% (8 / 8)      Branches: 50% (1 / 2)      Functions: 100% (1 / 1)      Lines: 100% (8 / 8)      Ignored: none     

All files » api/datum/ » DatumTag.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 281                       1 282 282   282 282     1           1  
var FieldDBObject = require("./../FieldDBObject").FieldDBObject;
 
/**
 * @class The DatumTag allows the user to label data with grammatical tags
 *        i.e. passive, causative. This is useful for searches.
 *
 * @name  DatumTag
 * @description The initialize function brings up a field in which the user
 *              can enter tags.@class FieldDBObject of Datum validation states
 * @extends FieldDBObject
 * @constructs
 */
var DatumTag = function DatumTag(options) {
  Eif (!this._fieldDBtype) {
    this._fieldDBtype = "DatumTag";
  }
  this.debug("Constructing DatumTag ", options);
  FieldDBObject.apply(this, arguments);
};
 
DatumTag.prototype = Object.create(FieldDBObject.prototype, /** @lends DatumTag.prototype */ {
  constructor: {
    value: DatumTag
  }
 
});
exports.DatumTag = DatumTag;