Interface Condition
- All Superinterfaces:
Extensible, OsidCondition, Suppliable
The Condition is used to input conditions into a rule
execution.
-
Method Summary
Modifier and TypeMethodDescriptiongetConditionRecord(Type conditionRecordType) Gets the condition record corresponding to the givenConditionrecordType.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
-
getConditionRecord
Gets the condition record corresponding to the givenConditionrecordType. This method is used to retrieve an object implementing the requested record. TheconditionRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(conditionRecordType)istrue.- Parameters:
conditionRecordType- the type of condition record to retrieve- Returns:
- the condition record
- Throws:
NullArgumentException-conditionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasConditionRecordType(conditionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-