MetaModel
Metadata corresponding to an Entity that represents a model.
An Entity represents a model when Entity#isModel is true
A MetaModel corresponds to an Entity by having the same MetaModel#id as the Entity#id.
A MetaModel is created by MetaScene#createMetaModel and belongs to a MetaScene.
Each MetaModel is registered by MetaModel#id in MetaScene#metaModels.
A MetaModel represents its object structure with a tree of MetaObjects, with MetaModel#rootMetaObject referencing the root MetaObject.
Member Summary
Public Members | ||
public |
The model author, if available. |
|
public |
The date the model was created, if available. |
|
public |
The application that created the model, if available. |
|
public |
Globally-unique ID. |
|
public |
Metadata on the Scene. |
|
public |
The project ID |
|
public |
propertySets: {String: PropertySet} The PropertySets in this MetaModel. |
|
public |
The revision ID, if available. |
|
public |
The root MetaObject in this MetaModel's composition structure hierarchy. |
|
public |
The model schema version, if available. |
Method Summary
Public Methods | ||
public |
getJSON(): * |
Public Members
public author: String source
The model author, if available.
Will be undefined if not available.
Properties:
Name | Type | Attribute | Description |
author | * |
public createdAt: String source
The date the model was created, if available.
Will be undefined if not available.
Properties:
Name | Type | Attribute | Description |
createdAt | * |
public creatingApplication: String source
The application that created the model, if available.
Will be undefined if not available.
Properties:
Name | Type | Attribute | Description |
creatingApplication | * |
public id: String | Number source
Globally-unique ID.
MetaModels are registered by ID in MetaScene#metaModels.
When this MetaModel corresponds to an Entity then this ID will match the Entity#id.
Properties:
Name | Type | Attribute | Description |
id | * |
public metaScene: MetaScene source
Metadata on the Scene.
Properties:
Name | Type | Attribute | Description |
metaScene | * |
public projectId: String | Number source
The project ID
Properties:
Name | Type | Attribute | Description |
projectId | * |
public propertySets: {String: PropertySet} source
The PropertySets in this MetaModel.
Properties:
Name | Type | Attribute | Description |
propertySets | * |
public revisionId: String | Number source
The revision ID, if available.
Will be undefined if not available.
Properties:
Name | Type | Attribute | Description |
revisionId | * |
public rootMetaObject: MetaObject source
The root MetaObject in this MetaModel's composition structure hierarchy.
Properties:
Name | Type | Attribute | Description |
rootMetaObject | * |