@xtctwins/tctwins-core 1.0.31 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,79 +6,79 @@ import { MetaObject } from "./MetaObject";
|
|
|
6
6
|
* Metadata corresponding to an {@link Entity} that represents a model.
|
|
7
7
|
*/
|
|
8
8
|
export declare class MetaModel {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new MetaModel.
|
|
11
|
+
* @param param
|
|
12
|
+
*/
|
|
13
|
+
constructor(param: { metaScene: MetaScene; id: any | String | Number | string | number });
|
|
9
14
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Globally-unique ID.
|
|
17
|
+
*
|
|
18
|
+
* MetaModels are registered by ID in {@link MetaScene.metaModels}.
|
|
19
|
+
*
|
|
20
|
+
* When this MetaModel corresponds to an {@link Entity} then this ID will match the {@link Entity.id}.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
id: string | number;
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
* When this MetaModel corresponds to an {@link Entity} then this ID will match the {@link Entity.id}.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
id: string | number;
|
|
25
|
+
/**
|
|
26
|
+
* The project ID
|
|
27
|
+
*/
|
|
28
|
+
projectId: string | number;
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
/**
|
|
31
|
+
* The revision ID, if available.
|
|
32
|
+
*/
|
|
33
|
+
revisionId?: string | number;
|
|
30
34
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
/**
|
|
36
|
+
* The model author, if available.
|
|
37
|
+
*/
|
|
38
|
+
author?: string;
|
|
35
39
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
/**
|
|
41
|
+
* The date the model was created, if available.
|
|
42
|
+
*/
|
|
43
|
+
createdAt?: string;
|
|
40
44
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
/**
|
|
46
|
+
* The application that created the model, if available.
|
|
47
|
+
*/
|
|
48
|
+
creatingApplication?: string;
|
|
45
49
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
/**
|
|
51
|
+
* The model schema version, if available.
|
|
52
|
+
*/
|
|
53
|
+
schema?: string;
|
|
50
54
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Metadata on the {@link Scene}.
|
|
57
|
+
*/
|
|
58
|
+
metaScene?: MetaScene;
|
|
55
59
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
/**
|
|
61
|
+
* The {@link PropertySet}s in this MetaModel.
|
|
62
|
+
*/
|
|
63
|
+
propertySets: {
|
|
64
|
+
String: PropertySet;
|
|
65
|
+
};
|
|
60
66
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
String: PropertySet;
|
|
66
|
-
};
|
|
67
|
+
/**
|
|
68
|
+
* The root {@link MetaObject} in this MetaModel's composition structure hierarchy.
|
|
69
|
+
*/
|
|
70
|
+
rootMetaObject: MetaObject;
|
|
67
71
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Finalizes this MetaModel.
|
|
74
|
+
*/
|
|
75
|
+
finalize(): void;
|
|
72
76
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
* @param metaModelData
|
|
81
|
-
* @param options
|
|
82
|
-
*/
|
|
83
|
-
loadData(metaModelData: any, options: { includeTypes: String[]; excludeTypes: String[]; globalizeObjectIds: any }): void;
|
|
77
|
+
/**
|
|
78
|
+
* Loads data into this MetaModel.
|
|
79
|
+
* @param metaModelData
|
|
80
|
+
* @param options
|
|
81
|
+
*/
|
|
82
|
+
// loadData(metaModelData: any, options: { includeTypes: String[]; excludeTypes: String[]; globalizeObjectIds: any }): void;
|
|
83
|
+
loadData(metaModelData: any, done: Function, err: Function): void;
|
|
84
84
|
}
|