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

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

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:

NameTypeAttributeDescription
author *

public createdAt: String source

The date the model was created, if available.

Will be undefined if not available.

Properties:

NameTypeAttributeDescription
createdAt *

public creatingApplication: String source

The application that created the model, if available.

Will be undefined if not available.

Properties:

NameTypeAttributeDescription
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:

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, if available.

Will be undefined if not available.

Properties:

NameTypeAttributeDescription
revisionId *

public rootMetaObject: MetaObject source

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

Properties:

NameTypeAttributeDescription
rootMetaObject *

public schema: String source

The model schema version, if available.

Will be undefined if not available.

Properties:

NameTypeAttributeDescription
schema *

Public Methods

public getJSON(): * source

Return:

*