Interface InstructionCondition
- All Superinterfaces:
Extensible, OsidCondition, Suppliable
The InstructionCondition is used to input conditions into an
instruction evaluation.
-
Method Summary
Modifier and TypeMethodDescriptiongetInstructionConditionRecord(Type instructionConditionRecordType) Gets the instruction condition record corresponding to the givenInstructionkConditionrecordType.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.
-
Method Details
-
getInstructionConditionRecord
InstructionConditionRecord getInstructionConditionRecord(Type instructionConditionRecordType) throws OperationFailedException, PermissionDeniedException Gets the instruction condition record corresponding to the givenInstructionkConditionrecordType. This method is used to retrieve an object implementing the requested record. TheinstructionConditionRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(instructionConditionRecordType)istrue.- Parameters:
instructionConditionRecordType- the type of instruction condition record to retrieve- Returns:
- the instruction condition record
- Throws:
NullArgumentException-instructionConditionRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(instructionConditionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-