public class CourseRestriction extends Restriction
Constructor and Description |
---|
CourseRestriction(long id,
Course course)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Course |
getCourse()
Course offering
|
boolean |
isApplicable(Student student)
Check the area, classifications and majors
|
addConfig, addSection, getConfigs, getId, getOffering, getSections, getSections, isIncluded, isIncluded, isIncluded
public CourseRestriction(long id, Course course)
id
- restriction unique idcourse
- course offering on which the restriction is setpublic boolean isApplicable(Student student)
isApplicable
in class Restriction
student
- a student