Infohub JS API
Loading...
Searching...
No Matches
cnRelation Class Reference

Description

Base Class for nodes/objects on COLNEO infohub.

Uses the infohub GOM (Generic Object Model)

Public Member Functions

 constructor ()
 dump (prefix='')
 getAsJson ()
 getId ()
 getName ()
get id ()
 setFromJson (obj_as_json)

Function Documentation

◆ constructor()

constructor ( )

◆ dump()

dump ( prefix = '')

◆ getAsJson()

getAsJson ( )
Returns
{*} The relation data as JSON

◆ getId()

getId ( )

Get ID of Relation (shortid).

Returns
ShortID

◆ getName()

getName ( )

◆ id()

get id ( )

Global unique ID.

◆ setFromJson()

setFromJson ( obj_as_json)
Parameters
{*}obj_as_json
Returns
{void}