Interface GradeSystemForm

All Superinterfaces:
Extensible, Identifiable, OsidAggregateableForm, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, Suppliable
All Known Subinterfaces:
GradeSystemBatchForm

public interface GradeSystemForm extends OsidObjectForm, OsidAggregateableForm

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

  • Method Details

    • getBasedOnGradesMetadata

      Metadata getBasedOnGradesMetadata()
      Gets the metadata for a grade-based designation.
      Returns:
      metadata for the grade-based designation
      Compliance:
      mandatory - This method must be implemented.
    • setBasedOnGrades

      void setBasedOnGrades(boolean grades)
      Sets the grade-based designation.
      Parameters:
      grades - the grade-based designation
      Throws:
      InvalidArgumentException - grades is invalid
      NoAccessException - grades cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • clearBasedOnGrades

      void clearBasedOnGrades()
      Clears the based on grades designation.
      Throws:
      NoAccessException - Metadata.isRequired() or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getLowestNumericScoreMetadata

      Metadata getLowestNumericScoreMetadata()
      Gets the metadata for the lowest numeric score.
      Returns:
      metadata for the lowest numeric score
      Compliance:
      mandatory - This method must be implemented.
    • setLowestNumericScore

      void setLowestNumericScore(BigDecimal score)
      Sets the lowest numeric score.
      Parameters:
      score - the lowest numeric score
      Throws:
      InvalidArgumentException - score is invalid
      NoAccessException - score cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • clearLowestNumericScore

      void clearLowestNumericScore()
      Clears the lowest score.
      Throws:
      NoAccessException - Metadata.isRequired() or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getNumericScoreIncrementMetadata

      Metadata getNumericScoreIncrementMetadata()
      Gets the metadata for the lowest numeric score.
      Returns:
      metadata for the lowest numeric score
      Compliance:
      mandatory - This method must be implemented.
    • setNumericScoreIncrement

      void setNumericScoreIncrement(BigDecimal increment)
      Sets the numeric score increment.
      Parameters:
      increment - the numeric score increment
      Throws:
      InvalidArgumentException - increment is invalid
      NoAccessException - increment cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • clearNumericScoreIncrement

      void clearNumericScoreIncrement()
      Clears the numeric score increment.
      Throws:
      NoAccessException - Metadata.isRequired() or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getHighestNumericScoreMetadata

      Metadata getHighestNumericScoreMetadata()
      Gets the metadata for the highest numeric score.
      Returns:
      metadata for the highest numeric score
      Compliance:
      mandatory - This method must be implemented.
    • setHighestNumericScore

      void setHighestNumericScore(BigDecimal score)
      Sets the highest numeric score.
      Parameters:
      score - the highest numeric score
      Throws:
      InvalidArgumentException - score is invalid
      NoAccessException - score cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • clearHighestNumericScore

      void clearHighestNumericScore()
      Clears the highest numeric score.
      Throws:
      NoAccessException - Metadata.isRequired() or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getGradeSystemFormRecord

      GradeSystemFormRecord getGradeSystemFormRecord(Type gradeSystemRecordType) throws OperationFailedException
      Gets the GradeSystemFormRecord corresponding to the given grade system record Type .
      Parameters:
      gradeSystemRecordType - the grade system record type
      Returns:
      the grade system form record
      Throws:
      NullArgumentException - gradeSystemRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(gradeSystemRecordType) is false
      Compliance:
      mandatory - This method must be implemented.