| Interface | osid.voting.CandidateForm | ||
|---|---|---|---|
| Implements | osid.OsidRelationshipForm | ||
| Description | 
                 This is the form for creating and updating   | ||
| Method | getResourceMetadata | ||
| Description | 
                     Gets the metadata for the associated resource.  | ||
| Return | osid.Metadata | metadata for the resource | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setResource | ||
| Description | 
                     Sets the resource.  | ||
| Parameters | osid.id.Id | resourceId | the resource  Id   | 
| Errors | INVALID_ARGUMENT |  resourceId  is invalid  |                 |
| NULL_ARGUMENT |  resourceId  is null  |                 ||
| NO_ACCESS |  Metadata.isReadOnly()  is  true   |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearResource | ||
| Description | 
                     Clears the resource.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCandidateFormRecord | ||
| Description | 
                     Gets the   | ||
| Parameters | osid.type.Type | candidateRecordType | the candidate record type | 
| Return | osid.voting.records.CandidateFormRecord | the candidate form record | |
| Errors | NULL_ARGUMENT |  candidateRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(candidateRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |