Interface AnswerBatchForm

All Superinterfaces:
Extensible, Identifiable, ItemForm, OsidAggregateableForm, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, Suppliable

public interface AnswerBatchForm extends ItemForm

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

  • Method Details

    • getItemId

      Id getItemId()
      Gets the Id of the item if this is a create transaction.
      Returns:
      the item Id
      Throws:
      IllegalStateException - isForUpdate() is true
      Compliance:
      mandatory - This method must be implemented.
    • getAnswerId

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