module Sfx { export class NodeOnNetwork extends DataModelBase < IRawNodeOnNetwork > { nodeDetails : Node ; public constructor ( data , raw ? ) { super ( data , raw ) ; } protected retrieveNewData ( messageHandler ? ) { return this . data . restClient . getNode ( this . raw . nodeName , messageHandler ) . then ( items => { this . nodeDetails = new Node ( this . data , items . data ) ; } ) ; } public get viewPath ( ) : string { return this . data . routes . getNodeViewPath ( this . raw . nodeName ) ; } } }