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-Diagram

UML class diagram of DataObject
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class

Hierarchy

Constructors

Properties

createdTimestamp: number

Created timestamp

displayName: string

Object display name

parentUID: string
uid: string

Object identifier

Returns

Unique object identifier

Accessors

Methods

  • Get relative position of a specified object

    Parameters

    • referenceObjectUID: string

      Reference object identifier

    • Optional type: string

      Constructor type of the relative position

    Returns RelativePosition<any, Unit>

    Relative position to reference object