OSID Logo
OSID Specifications
topology package
Version 3.1.0
Interfaceosid.topology.Node
Implementsosid.OsidObject
Used Byosid.topology.Edge
osid.topology.NodeAdminSession
osid.topology.NodeList
osid.topology.NodeLookupSession
osid.topology.path.Path
Description

A Node represents a node in a Graph.

MethodgetNodeRecord
Description

Gets the node record corresponding to the given Node record Type.This method is used to retrieve an object implementing the requested record. The nodeRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(nodeRecordType) is true.

Parametersosid.type.TypenodeRecordType the type of node record to retrieve
Returnosid.topology.records.NodeRecord the node record
ErrorsNULL_ARGUMENT nodeRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(nodeRecordType) is false
Compliancemandatory This method must be implemented.