public interface Device extends OsidObject
A Device
manages a set of Inputs
to
Controllers.
Modifier and Type | Method and Description |
---|---|
DeviceRecord |
getDeviceRecord(Type deviceRecordType)
Gets the device record corresponding to the given
Device
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
DeviceRecord getDeviceRecord(Type deviceRecordType) throws OperationFailedException, PermissionDeniedException
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
.deviceRecordType
- the type of device record to retrieveNullArgumentException
- deviceRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(deviceRecordType)
is false
mandatory
- This method must be implemented.