Interface RaceConstrainer

All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidConstrainer, OsidObject, OsidRule

public interface RaceConstrainer extends OsidConstrainer

A RaceConstrainer describes the rules for constraining the voting requests in a race.

  • Method Details

    • getRaceConstrainerRecord

      RaceConstrainerRecord getRaceConstrainerRecord(Type raceConstrainerRecordType) throws OperationFailedException
      Gets the race constrainer record corresponding to the given RaceConstrainer record Type .This method is used to retrieve an object implementing the requested record. The raceConstrainerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(raceConstrainerRecordType) is true .
      Parameters:
      raceConstrainerRecordType - the type of race constrainer record to retrieve
      Returns:
      the race constrainer record
      Throws:
      NullArgumentException - raceConstrainerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(raceConstrainerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.