OSID Logo
OSID Specifications
control package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.Device
Implementsosid.OsidObject
Description

A Device manages a set of Inputs to Controllers.

MethodgetDeviceRecord
Description

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

Parametersosid.type.TypedeviceRecordTypethe type of device record to retrieve
Returnosid.control.records.DeviceRecordthe device record
ErrorsNULL_ARGUMENT deviceRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(deviceRecordType) is false
CompliancemandatoryThis method must be implemented.