
js.prompto.memstore.StoredDocument.js Maven / Gradle / Ivy
function StoredDocument(categories, dbId) {
this.category = categories;
this.dbId = dbId;
return this;
}
StoredDocument.prototype.getData = function(name) {
return this[name] || null;
};
StoredDocument.prototype.matches = function(predicate) {
if(predicate==null)
return true;
else
return predicate.matches(this);
};
exports.StoredDocument = StoredDocument;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy