OSID Logo
OSID Specifications
inventory package
Version 3.1.0
Interfaceosid.inventory.Model
Implementsosid.OsidObject
Used Byosid.control.Controller
osid.inventory.ModelAdminSession
osid.inventory.ModelList
osid.inventory.ModelLookupSession
osid.inventory.shipment.Entry
Description

A Model represents a specific make of a product that is used to build a vocabulary of managed products.

MethodgetManufacturerId
Description

Gets the manufacturer Id.

Returnosid.id.Id a resource Id
Compliancemandatory This method must be implemented.
MethodgetManufacturer
Description

Gets the manufacturer (e.g. Cisco).

Returnosid.resource.Resource a resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetArchetype
Description

Gets the model name component (e.g. ASR 9010)

Returnstring the model
Compliancemandatory This method must be implemented.
MethodgetNumber
Description

Gets the model number (e.g. ASR-9010-AC-V2).

Returnstring the model number
Compliancemandatory This method must be implemented.
MethodgetModelRecord
Description

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

Parametersosid.type.TypemodelRecordType the type of model record to retrieve
Returnosid.inventory.records.ModelRecord the model record
ErrorsNULL_ARGUMENT modelRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(modelRecordType) is false
Compliancemandatory This method must be implemented.