OSID Logo
OSID Specifications
topology package
Version 3.0.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.TypenodeRecordTypethe type of node record to retrieve
Returnosid.topology.records.NodeRecordthe node record
ErrorsNULL_ARGUMENTnodeRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(nodeRecordType) is false
CompliancemandatoryThis method must be implemented.