OSID Logo
OSID Specifications
metering package
Version 3.1.0
Interfaceosid.metering.UtilityForm
Implementsosid.OsidCatalogForm
Implemented Byosid.metering.batch.UtilityBatchForm
Used Byosid.metering.UtilityAdminSession
Description

This is the form for creating and updating utilities. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the UtilityAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetUtilityFormRecord
Description

Gets the UtilityFormRecord corresponding to the given utility record Type.

Parametersosid.type.TypeutilityRecordType the utility record type
Returnosid.metering.records.UtilityFormRecord the utility form record
ErrorsNULL_ARGUMENT utilityRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(utilityRecordType) is false
Compliancemandatory This method must be implemented.