Reference Source
public class | source

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

Globally-unique ID.

public

Metadata on the Scene.

public

The project ID

public

The revision ID

public

The root MetaObject in this MetaModel's composition structure hierarchy.

Method Summary

Public Methods
public

getJSON(): *

Public Members

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:

NameTypeAttributeDescription
id *

public metaScene: MetaScene source

Metadata on the Scene.

Properties:

NameTypeAttributeDescription
metaScene *

public projectId: String | Number source

The project ID

Properties:

NameTypeAttributeDescription
projectId *

public revisionId: String | Number source

The revision ID

Properties:

NameTypeAttributeDescription
revisionId *

public rootMetaObject: MetaObject source

The root MetaObject in this MetaModel's composition structure hierarchy.

Properties:

NameTypeAttributeDescription
rootMetaObject *

Public Methods

public getJSON(): * source

Return:

*