Interface RaceBatchForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidGovernatorForm, OsidIdentifiableForm, OsidObjectForm, OsidOperableForm, OsidSourceableForm, OsidSubjugateableForm, RaceForm, Suppliable

public interface RaceBatchForm extends RaceForm

This is the form for creating and updating races in bulk. Like all OsidForms, various data elements may be set here for use in the create and update methods in the RaceBatchAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

  • Method Details

    • getBallotId

      Id getBallotId()
      Gets the Ballot of the race if this is a create transaction.
      Returns:
      the ballot Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getRaceId

      Id getRaceId()
      Gets the Id of the race to be updated if this is an update transaction.
      Returns:
      the race Id
      Throws:
      IllegalStateException - isForUpdate() is false
      Compliance:
      mandatory - This method must be implemented.