| Method | getWarehouseRecord |
| Description |
Gets the warehouse record corresponding to the given
Warehouse record Type. This
method is used to retrieve an object implementing the
requested record. The warehouseRecordType may
be the Type returned in
getRecordTypes() or any of its parents in a
Type hierarchy where
hasRecordType(warehouseRecordType) is
true.
|
| Parameters | osid.type.Type | warehouseRecordType | the type of warehouse record to retrieve |
| Return | osid.inventory.records.WarehouseRecord | the warehouse record |
| Errors | NULL_ARGUMENT | warehouseRecordType is null |
| OPERATION_FAILED | unable to complete request |
| UNSUPPORTED | hasRecordType(warehouseRecordType) is false |
| Compliance | mandatory | This method must be implemented. |