OSID Logo
OSID Specifications
resource demographic package
Version 3.0.0
Interfaceosid.resource.demographic.DemographicEnabler
Implementsosid.OsidEnabler
Used Byosid.resource.demographic.DemographicEnablerAdminSession
osid.resource.demographic.DemographicEnablerList
osid.resource.demographic.DemographicEnablerLookupSession
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_ARGUMENTdemographicEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(demographicEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.