Package org.dnsge.powerschoolapi.stat
Class DetailedCourse
- java.lang.Object
-
- org.dnsge.powerschoolapi.detail.Course
-
- org.dnsge.powerschoolapi.stat.DetailedCourse
-
public class DetailedCourse extends Course
Extension of aCoursewith credit hours and grade values. Can be instantiated withcreateWithData(Course, double, double)- Version:
- 1.0.3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetailedCoursecreateWithData(Course from, double creditHours, double gradeValue)Creates a DetailedCourse from a regularCourse, the number of credit hours, and the grade value.booleanequals(java.lang.Object o)doublegetCreditHours()Returns the number of credit hours for this DetailedCourse.doublegetGradeValue()Returns the grade value of this DetailedCourse.inthashCode()-
Methods inherited from class org.dnsge.powerschoolapi.detail.Course
courseIdentifier, generateCourseFromElement, getAssignments, getCourseFrequency, getCourseGrades, getCourseName, getGradeGroup, getRoom, getTeacherEmail, getTeacherFirstName, getTeacherLastName, getUser, objectIdentifier, toString
-
-
-
-
Method Detail
-
createWithData
public static DetailedCourse createWithData(Course from, double creditHours, double gradeValue)
Creates a DetailedCourse from a regularCourse, the number of credit hours, and the grade value.- Parameters:
from- Course to detailcreditHours- Number of credit hoursgradeValue- Grade value- Returns:
- New DetailedCourse with the desired information
-
getCreditHours
public double getCreditHours()
Returns the number of credit hours for this DetailedCourse.- Returns:
- the number of credit hours for this DetailedCourse
-
getGradeValue
public double getGradeValue()
Returns the grade value of this DetailedCourse.- Returns:
- the grade value of this DetailedCourse
-
-