Class: module:model/MetadataObject

module:model/MetadataObject(objectid, name, theData, obj)

new module:model/MetadataObject(objectid, name, theData, obj)

Constructs a new MetadataObject. metadata object definition

Parameters:
Name Type Description
objectid Integer

Unique ID for the object

name String

Name of the object

theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/MetadataObject

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a MetadataObject from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Source:

(inner) name :String

Name of the object

Type:
  • String
Source:

(inner) objectid :Integer

Unique ID for the object

Type:
  • Integer
Source:

(inner) objects :Array.<module:model/MetadataObject>

Optional collection of “children” objects within the hierarchy

Type:
Source: