Class DataObject

A data object is an instance that can be anything ranging from a person or asset to a more abstract object such as a Wi-Fi access point or ReferenceSpace.

Usage

Creation

Objects can be created with an optional uid and display name.

const myObject = new DataObject("mvdewync", "Maxim");

Service binding

Data objects can be bounded to a service. Persistence is handled in DataObjectServices that store and load data objects.

myObject.bind(myModel).save();

Hierarchy (view full)

Constructors

Properties

createdTimestamp: number

Created timestamp

displayName: string

Object display name

parentUID: string
uid: string

Object identifier

Returns

Unique object identifier

Accessors

Methods

  • Set the unique identifier of this object

    Parameters

    • uid: string

      Unique Identifier

    Returns this

    Data object instance