OSID Logo
OSID Specifications
metering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.metering.UtilityForm
Implementsosid.OsidCatalogForm
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.TypeutilityRecordTypethe utility record type
Returnosid.metering.records.UtilityFormRecordthe utility form record
ErrorsNULL_ARGUMENT utilityRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(utilityRecordType) is false
CompliancemandatoryThis method must be implemented.