OSID Logo
OSID Specifications
rules check package
Version 3.1.0
Interfaceosid.rules.check.InstructionCondition
Implementsosid.OsidCondition
Used Byosid.rules.check.InstructionApplicabilitySession
Description

The InstructionCondition is used to input conditions into an instruction evaluation.

MethodgetInstructionConditionRecord
Description

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

Parametersosid.type.TypeinstructionConditionRecordType the type of instruction condition record to retrieve
Returnosid.rules.check.records.InstructionConditionRecord the instruction condition record
ErrorsNULL_ARGUMENT instructionConditionRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(instructionConditionRecordType) is false
Compliancemandatory This method must be implemented.