OSID Logo
OSID Specifications
osid package
Version 3.1.0
Interfaceosid.OsidRuleApplicatorCondition
Implementsosid.OsidEnablerCondition
Description

The OsidApplicatorCondition is used to input conditions into an OsidApplicator evaluation.

MethodsetTimePeriod
Description

Sets the time period for the evaluation. Dates and TimePeriods are often independent dimensions. Although a TimePeriod spans dates, it also serves as the reporting time period in which something may pertain. For example, an OsidRule that is in effect for Q3FY2015 is in effect for transactions that pertain to Q3FY2015 although they may be submitted before or after the time period. OsidRuleApplicators may be active for a TimePeriod, or they may apply to a TimePeriod, or both.

This input may be superseded by other data. For example, a supplied request via an OsidEnablerConditionRecord may contain the applicable time period.

Parametersosid.id.IdtimePeriodId the time period Id
ErrorsNULL_ARGUMENT timePeriodId is null
Compliancemandatory This method must be implemented.
MethodsetResource
Description

Sets the resource for the evaluation. OsidRuleApplicators may apply to resource demographic rules. This Resource is the individual to evaluate against these groups. If not supplied but required in the OsidRuleApplicator evaluation, an anonymous Resource may be used.

This input may be superseded by other data. For example, a supplied request via an OsidRuleApplicatorConditionRecord may contain the identity of the person of thing to which the OsidRuleApplicator is evaluated.

Parametersosid.id.IdresourceId the resource Id
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.