OSID Logo
OSID Specifications
resource demographic package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resource.demographic.DemographicEnabler
Implementsosid.OsidEnabler
Description

A DemographicEnabler describes the rules for enabling and disabling a Demographic.

MethodgetDemographicEnablerRecord
Description

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

Parametersosid.type.TypedemographicEnablerRecordTypethe type of demographic enabler record to retrieve
Returnosid.resource.demographic.records.DemographicEnablerRecordthe demographic enabler record
ErrorsNULL_ARGUMENT demographicEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(demographicEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.