| Interface | osid.OsidRule | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
osid.Operable | |||
| Description | 
                 An   Rules are defined to be operable. In the case of a 
                statement evaluation, an enabled rule overrides any evaluation 
                to return     | ||
| Method | hasRule | ||
| Description | 
                     Tests if an explicit rule is available.  | ||
| Return | boolean |  true  if an explicit rule is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRuleId | ||
| Description | 
                     Gets the explicit rule   | ||
| Return | osid.id.Id | the rule  Id   | |
| Errors | ILLEGAL_STATE |  hasRule()  is  false   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRule | ||
| Description | 
                     Gets the explicit rule.  | ||
| Return | osid.rules.Rule | the rule | |
| Errors | ILLEGAL_STATE |  hasRule()  is  false   |                 |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |