| Interface | osid.OsidRelationshipQuery | ||
|---|---|---|---|
| Implements | osid.OsidObjectQuery | ||
osid.OsidTemporalQuery | |||
| Description | 
                 This is the query interface for searching relationships. 
                Each method specifies an   | ||
| Method | matchEndReasonId | ||
| Description | 
                     Match the   | ||
| Parameters | osid.id.Id | stateId |  Id  to match  | 
boolean | match |  true  if for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  ruleId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearEndReasonIdTerms | ||
| Description | 
                     Clears all state   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsEndReasonQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a end reason query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEndReasonQuery | ||
| Description | 
                     Gets the query for the end reason state. Each retrieval 
                    performs a boolean   | ||
| Parameters | boolean | match |  true  if for a positive match,  false  for a 
negative match  | 
| Return | osid.process.StateQuery | the state query | |
| Errors | UNIMPLEMENTED |  supportsEndReasonQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsEndReasonQuery()  
is  true.   | |
| Method | matchAnyEndReason | ||
| Description | 
                     Match any end reason state.  | ||
| Parameters | boolean | match |  true  to match any state,  false  to match no 
state  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearEndReasonTerms | ||
| Description | 
                     Clears all end reason state terms.  | ||
| Compliance | mandatory | This method must be implemented. | |