org.sakaiproject.tool.gradebook
Class LetterGradePercentMapping
java.lang.Object
org.sakaiproject.tool.gradebook.LetterGradePercentMapping
- All Implemented Interfaces:
- Serializable
public class LetterGradePercentMapping
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LetterGradePercentMapping
public LetterGradePercentMapping()
getValue
public Double getValue(String grade)
getGrade
public String getGrade(Double value)
getId
public Long getId()
setId
public void setId(Long id)
getVersion
public int getVersion()
setVersion
public void setVersion(int version)
getGradeMap
public Map<String,Double> getGradeMap()
setGradeMap
public void setGradeMap(Map<String,Double> gradeMap)
getMappingType
public int getMappingType()
setMappingType
public void setMappingType(int mappingType)
getGradebookId
public Long getGradebookId()
setGradebookId
public void setGradebookId(Long gradebookId)
standardizeInputGrade
public String standardizeInputGrade(String inputGrade)
- Enable any-case input of grades (typically lowercase input
for uppercase grades). Look for a case-insensitive match
to the input text and if it's found, return the official
version.
- Returns:
- The normalized version of the grade, or null if not found.
Copyright © 2003-2013 Sakai Project. All Rights Reserved.