Interface AwardRequirementForm

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

public interface AwardRequirementForm extends OsidRuleForm, OsidAggregateableForm

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

  • Method Details

    • getTimeframeMetadata

      Metadata getTimeframeMetadata()
      Gets the metadata for the timeframe.
      Returns:
      metadata for the timeframe
      Compliance:
      mandatory - This method must be implemented.
    • setTimeframe

      void setTimeframe(Duration duration)
      Sets the timeframe.
      Parameters:
      duration - the new duration
      Throws:
      InvalidArgumentException - duration is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - duration is null
      Compliance:
      mandatory - This method must be implemented.
    • clearTimeframe

      void clearTimeframe()
      Clears the timeframe.
      Throws:
      NoAccessException - Metadata.isRequired() or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getAwardlRequirementFormRecord

      AwardRequirementFormRecord getAwardlRequirementFormRecord(Type awardRequirementRecordType) throws OperationFailedException
      Gets the AwardRequirementFormRecord corresponding to the given awardl requirement record Type .
      Parameters:
      awardRequirementRecordType - an award requirement record type
      Returns:
      the award requirement form record
      Throws:
      NullArgumentException - awardRequirementRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(awardRequirementRecordType) is false
      Compliance:
      mandatory - This method must be implemented.