OSID Logo
OSID Specifications
resource demographic package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resource.demographic.DemographicEnablerForm
Implementsosid.OsidEnablerForm
Description

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

MethodgetDemographicEnablerFormRecord
Description

Gets the DemographicEnablerFormRecord corresponding to the given demographic enabler record Type.

Parametersosid.type.TypedemographicEnablerRecordTypea demographic enabler record type
Returnosid.resource.demographic.records.DemographicEnablerFormRecordthe demographic enabler form record
ErrorsNULL_ARGUMENT demographicEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(demographicEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.