Interface GradeSystemTransform

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

public interface GradeSystemTransform extends OsidRule

A GradeSystemTransform represents a translation between two grade systems. The transform is directional such that a translation between the source and target may not equal a translation between the target and the source grade systems.

  • Method Details

    • getSourceGradeSystemId

      Id getSourceGradeSystemId()
      Gets the source GradeSystem Id.
      Returns:
      the source grade system Id
      Compliance:
      mandatory - This method must be implemented.
    • getSourceGradeSystem

      GradeSystem getSourceGradeSystem() throws OperationFailedException
      Gets the source GradeSystem.
      Returns:
      the source grade system
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getTargetGradeSystemId

      Id getTargetGradeSystemId()
      Gets the target GradeSystem Id.
      Returns:
      the target grade system Id
      Compliance:
      mandatory - This method must be implemented.
    • getTargetGradeSystem

      GradeSystem getTargetGradeSystem() throws OperationFailedException
      Gets the target GradeSystem.
      Returns:
      the target grade system
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • normalizesInputScores

      boolean normalizesInputScores()
      Tests if this transformation is based on normalization of the input scores.
      Returns:
      true of a normalization is performed, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getGradeMaps

      GradeMapList getGradeMaps()
      Gets any one-to-one mapping of grades.
      Returns:
      the grade maps
      Compliance:
      mandatory - This method must be implemented.
    • getGradeSystemTransformRecord

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