OSID Logo
OSID Specifications
rules package
Version 3.1.0
Interfaceosid.rules.RuleForm
Implementsosid.OsidForm
Used Byosid.rules.RuleAdminSession
Description

This is the form for creating and updating Rules. Like all OsidForms, various data elements may be set here for use in the create and update methods in the RuleAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetRuleFormRecord
Description

Gets the RuleFormRecord corresponding to the given rule record Type.

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