Class

cnRelation

cnRelation()

Base Class for nodes/objects on COLNEO infohub.
Uses the infohub GOM (Generic Object Model)

Constructor

# new cnRelation()

View Source gom/cnRelation.js, line 18

Classes

cnRelation

Members

# id

Global unique ID

View Source gom/cnRelation.js, line 28

Methods

# getAsJson() → {*}

View Source gom/cnRelation.js, line 74

The relation data as JSON

*

# getId()

Get ID of Relation (shortid)

View Source gom/cnRelation.js, line 36

ShortID

# setFromJson(obj_as_json) → {void}

Parameters:
Name Type Description
obj_as_json *

View Source gom/cnRelation.js, line 66

void