blob: a5f5ec70a82d01afa58fd05b5563daa215435f22 (
plain)
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
48
49
50
51
52
53
54
55
56
|
import {MetaDataTabModel} from './metadata/MetaDataTab.model';
export class Definition {
public metaDataTab: MetaDataTabModel;
public imports: Map<string, string>;
// public dslDefinition:
constructor() {
this.imports = new Map<string, string>();
this.metaDataTab = new MetaDataTabModel();
}
public setImports(key: string, value: string) {
this.imports.set(key, value);
return this;
}
public setMetaData(metaDataTab: MetaDataTabModel) {
this.metaDataTab = metaDataTab;
return this;
}
}
export class Scripts {
public files: Map<string, string>;
constructor() {
this.files = new Map<string, string>();
}
public setScripts(key: string, value: string) {
this.files.set(key, value);
return this;
}
}
export class CBAPackage {
public metaData: MetaDataTabModel;
public definitions: Definition;
public scripts: Scripts;
constructor() {
this.definitions = new Definition();
this.scripts = new Scripts();
this.metaData = new MetaDataTabModel();
}
}
|