OSID Logo
OSID Specifications
resource demographic package
Version 3.1.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.TypedemographicEnablerRecordType the type of demographic enabler record to retrieve
Returnosid.resource.demographic.records.DemographicEnablerRecord the demographic enabler record
ErrorsNULL_ARGUMENT demographicEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(demographicEnablerRecordType) is false
Compliancemandatory This method must be implemented.