Interface DemographicEnabler

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidEnabler, OsidObject, OsidRule, Temporal

public interface DemographicEnabler extends OsidEnabler

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

  • Method Details

    • getDemographicEnablerRecord

      DemographicEnablerRecord getDemographicEnablerRecord(Type demographicEnablerRecordType) throws OperationFailedException
      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 .
      Parameters:
      demographicEnablerRecordType - the type of demographic enabler record to retrieve
      Returns:
      the demographic enabler record
      Throws:
      NullArgumentException - demographicEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(demographicEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.