/** * Project : AMDA-NG * Name : StatisticsNode.js * @class amdaModel.StatisticsNode * @extends amdaModel.ExecutableNode * @brief Basic Model of Node corresponding to a amda statistics operation * @author elena */ Ext.define('amdaModel.StatisticsNode', { extend: 'amdaModel.ExecutableNode', singleton: true, fields: [ {name: 'downloadType', type : 'string'}, {name: 'object', type: 'object'}, {name: 'realLinkedNode', type: 'amdaModel.AmdaNode'}, {name: 'moduleId', type: 'string', defaultValue:'statistics-win'}, {name: 'nodeType', type: 'string', defaultValue: 'statistics'}, {name: 'objectDataModel', type: 'string', defaultValue:'amdaModel.Stats'}, {name: 'jobNode', type: 'string', defaultValue: 'amdaModel.BkgJobNode'} ], constructor: function(config) { this.callParent(arguments); this.set('nodeType','statistics'); }, isExecutable: function(){ return true; } });