OSID Logo
OSID Specifications
rules package
Version 3.1.0
Interfaceosid.rules.Rule
Implementsosid.OsidRule
Used Byosid.OsidRule
osid.rules.RuleAdminSession
osid.rules.RuleList
osid.rules.RuleLookupSession
Description

A Rule represents an entity that can be evaluated or executed.

MethodgetRuleRecord
Description

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

Parametersosid.type.TyperuleRecordType the type of rule record to retrieve
Returnosid.rules.records.RuleRecord the rule record
ErrorsNULL_ARGUMENT ruleRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(ruleRecordType) is false
Compliancemandatory This method must be implemented.