OSID Logo
OSID Specifications
inventory package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inventory.Model
Implementsosid.OsidObject
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.Ida resource Id
CompliancemandatoryThis method must be implemented.
MethodgetManufacturer
Description

Gets the manufacturer (e.g. Cisco).

Returnosid.resource.Resourcea resource
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetArchetype
Description

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

Returnstringthe model
CompliancemandatoryThis method must be implemented.
MethodgetNumber
Description

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

Returnstringthe model number
CompliancemandatoryThis 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.TypemodelRecordTypethe type of model record to retrieve
Returnosid.inventory.records.ModelRecordthe model record
ErrorsNULL_ARGUMENT modelRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(modelRecordType) is false
CompliancemandatoryThis method must be implemented.