OSID Logo
OSID Specifications
topology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.topology.Graph
Implementsosid.OsidCatalog
Description

A Graph represents a collection of nodes and edges.

MethodgetGraphRecord
Description

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

Parametersosid.type.TypegraphRecordTypethe type of graph record to retrieve
Returnosid.topology.records.GraphRecordthe graph record
ErrorsNULL_ARGUMENT graphRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(graphRecordType) is false
CompliancemandatoryThis method must be implemented.