Blame view

js/app/models/StatisticsNode.js 942 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
22
23
24
	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.Statistics'},
		{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
});