OSID Logo
OSID Specifications
topology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.topology.Node
Implementsosid.OsidObject
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.TypenodeRecordTypethe type of node record to retrieve
Returnosid.topology.records.NodeRecordthe node record
ErrorsNULL_ARGUMENT nodeRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(nodeRecordType) is false
CompliancemandatoryThis method must be implemented.