| Interface | osid.voting.rules.RaceProcessorForm | ||
|---|---|---|---|
| Implements | osid.OsidProcessorForm | ||
| Description |
This is the form for creating and updating | ||
| Method | getMaximumWinnersMetadata | ||
| Description |
Gets the metadata for the maximum winners value. | ||
| Return | osid.Metadata | metadata for the maximum winners | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMaximumWinners | ||
| Description |
Sets the maximum winners. | ||
| Parameters | cardinal | winners | the maximum winners |
| Errors | INVALID_ARGUMENT | winners is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMaximumWinners | ||
| Description |
Clears the maximum winners value. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMinimumPercentageToWinMetadata | ||
| Description |
Gets the metadata for the minimum percentage to win value. | ||
| Return | osid.Metadata | metadata for the minimum percentage to win | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMinimumPercentageToWin | ||
| Description |
Sets the minimum percentage to win (0-100). | ||
| Parameters | cardinal | percentage | the mnimum percentage to win |
| Errors | INVALID_ARGUMENT | percentage is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMinimumPercentageToWin | ||
| Description |
Clears the minimum percentage to win value. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getMinimumPVotesToWinMetadata | ||
| Description |
Gets the metadata for the minimum votes to win value. | ||
| Return | osid.Metadata | metadata for the minimum votes to win | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setMinimumVotesToWin | ||
| Description |
Sets the minimum votes to win (0-100). | ||
| Parameters | cardinal | votes | the mnimum votes to win |
| Errors | INVALID_ARGUMENT | votes is invalid | |
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearMinimumVotesToWin | ||
| Description |
Clears the minimum votes to win value. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRaceProcessorFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | raceProcessorRecordType | a race processor record type |
| Return | osid.voting.rules.records.RaceProcessorFormRecord | the race processor form record | |
| Errors | NULL_ARGUMENT | raceProcessorRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(raceProcessorRecordType) is false
| ||
| Compliance | mandatory | This method must be implemented. | |