public class Course extends Object
Constructor and Description |
---|
Course(long courseId,
String courseName,
boolean exclusive,
boolean sameCommon)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Long |
getCourseId()
Course id that was provided in the constructor
|
String |
getCourseName()
Course name that was provided in the constructor
|
int |
hashCode() |
boolean |
isExclusive()
If a course is marked as exclusive, all assignments of an instructor must have
the same course.
|
boolean |
isSameCommon()
Whether to ensure that multiple assignments given to the same instructor share the common part.
|
String |
toString() |
public Long getCourseId()
public String getCourseName()
public boolean isExclusive()
public boolean isSameCommon()
Section.isCommon()
).Copyright © 2016 UniTime LLC. All Rights Reserved.