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

Description

CoordinationModel (cn_federatedmodels) in a project on infohub.

Inheritance diagram for CoordinationModel:
cnObject

Public Member Functions

 constructor ()
get Domains ()
set Domains (domains)
 getDomainByType (domainTypes)
get rawDomains ()
get rawRelations ()
get Relations ()
set Relations (relations)
get typedDomains ()
Public Member Functions inherited from cnObject
 constructor ()
get className ()
get id ()
get shortid ()
get name ()
set name (value)
 setFromJson (obj_as_json, members=null)
 getAsJson (members=null)
 dump (prefix='')
 toJSON ()
 getId ()
 getShortId ()
 getName ()
 setName (n)
 get (key, defaultValue={})
get info ()
get properties ()
 getPropertyValue (typeid, defaultValue=null)
 setPropertyValue (typeid, value)

Static Public Attributes

static className = "CoordinationModel"

Function Documentation

◆ constructor()

constructor ( )

◆ Domains() [1/2]

get Domains ( )

◆ Domains() [2/2]

set Domains ( domains)
Parameters
{any[]}domains

◆ getDomainByType()

getDomainByType ( domainTypes)
Parameters
{String[]}domainTypes // e.g. ["geo","act"]
Returns
{any[]}

◆ rawDomains()

get rawDomains ( )

◆ rawRelations()

get rawRelations ( )

◆ Relations() [1/2]

get Relations ( )

◆ Relations() [2/2]

set Relations ( relations)
Parameters
{any[]}relations

◆ typedDomains()

get typedDomains ( )

Returns Domains as real Domain instances.

Returns
{Domain[]}

Member Data Documentation

◆ className

className = "CoordinationModel"
static