OSID Logo
OSID Specifications
rules package
Version 3.1.0
Interfaceosid.rules.Condition
Implementsosid.OsidCondition
Used Byosid.rules.RuleEvaluationSession
Description

The Condition is used to input conditions into a rule execution.

MethodgetConditionRecord
Description

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

Parametersosid.type.TypeconditionRecordType the type of condition record to retrieve
Returnosid.rules.records.ConditionRecord the condition record
ErrorsNULL_ARGUMENT conditionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasConditionRecordType(conditionRecordType) is false
Compliancemandatory This method must be implemented.