public interface Condition extends OsidCondition
The Condition
is used to input conditions into a rule
execution.
Modifier and Type | Method and Description |
---|---|
ConditionRecord |
getConditionRecord(Type conditionRecordType)
Gets the condition record corresponding to the given
Condition
record Type. |
getRecordTypes, hasRecordType
ConditionRecord getConditionRecord(Type conditionRecordType) throws OperationFailedException
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
.conditionRecordType
- the type of condition record to retrieveNullArgumentException
- conditionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasConditionRecordType(conditionRecordType)
is
false
mandatory
- This method must be implemented.