Blame view

js/app/models/StatisticsNode.js 937 Bytes
d18b535d   elena   catalog draft + c...
1
2
3
4
/** 
 * Project  : AMDA-NG
 * Name     : StatisticsNode.js
 * @class   amdaModel.StatisticsNode
3a5f60a1   elena   proper use os sta...
5
 * @extends amdaModel.ExecutableNode
d18b535d   elena   catalog draft + c...
6
7
8
9
10
11
 * @brief   Basic Model of Node corresponding to a amda statistics operation
 * @author  elena
 */

Ext.define('amdaModel.StatisticsNode', {

3a5f60a1   elena   proper use os sta...
12
13
14
15
16
17
18
19
20
21
	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'},
6bfa699d   Elena.Budnik   Statistics -> Stats
22
		{name: 'objectDataModel', type: 'string', defaultValue:'amdaModel.Stats'},
3a5f60a1   elena   proper use os sta...
23
24
		{name: 'jobNode', type: 'string', defaultValue: 'amdaModel.BkgJobNode'}
	], 
ebb4d6a4   elena   petit bug with se...
25
26
27
28
29
	
	 constructor: function(config) {
		this.callParent(arguments);	 
		this.set('nodeType','statistics');
	},
3a5f60a1   elena   proper use os sta...
30
31
32
	isExecutable: function(){
		return true;
	}
d18b535d   elena   catalog draft + c...
33
});