forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFieldParameters.js
More file actions
47 lines (38 loc) · 1.26 KB
/
FieldParameters.js
File metadata and controls
47 lines (38 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import {SuperMap} from '../SuperMap';
import {Util} from '../commontypes/Util';
/**
* @class SuperMap.FieldParameters
* @category iServer Data Field
* @classdesc 字段信息查询参数类。
* @param options - {Object} 可选参数。如:<br>
* datasource - {string} 数据源名称。<br>
* dataset - {string} 数据集名称。
*/
export class FieldParameters {
constructor(options) {
/**
* @member SuperMap.FieldParameters.prototype.datasource - {string}
* @description 要查询的数据集所在的数据源名称。
*/
this.datasource = null;
/**
* @member SuperMap.FieldParameters.prototype.dataset - {string}
* @description 要查询的数据集名称。
*/
this.dataset = null;
if (options) {
Util.extend(this, options);
}
this.CLASS_NAME = "SuperMap.FieldParameters";
}
/**
* @function SuperMap.FieldParameters.prototype.destroy
* @description 释放资源,将引用资源的属性置空。
*/
destroy() {
var me = this;
me.datasource = null;
me.dataset = null;
}
}
SuperMap.FieldParameters = FieldParameters;