GeoKnow/Jassa-Core

View on GitHub
lib/facete/table/Aggregator.js

Summary

Maintainability
A
2 hrs
Test Coverage
var Class = require('../../ext/Class');

var Aggregator = Class.create({
    initialize: function(name, attrs) {
        this.name = name;
        this.attrs = attrs; // Optional attributes;
    },

    getName: function() {
        return this.name;
    },

    getAttrs: function() {
        return this.attrs;
    }
});

module.exports = Aggregator;