public abstract class StudentSectioningLoader extends Object implements Runnable
Constructor and Description |
---|
StudentSectioningLoader(StudentSectioningModel model,
Assignment<Request,Enrollment> assignment)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Assignment<Request,Enrollment> |
getAssignment()
Returns provided assignment.
|
protected StudentSectioningModel |
getModel()
Returns provided model.
|
abstract void |
load()
Load the model.
|
void |
run() |
void |
setCallback(Callback callback)
Sets callback class
|
public StudentSectioningLoader(StudentSectioningModel model, Assignment<Request,Enrollment> assignment)
model
- an empty instance of timetable modelassignment
- an empty assignment to be populatedprotected StudentSectioningModel getModel()
protected Assignment<Request,Enrollment> getAssignment()
public abstract void load() throws Exception
Exception
- thrown when the load failspublic void setCallback(Callback callback)
callback
- method Callback.execute()
is executed when load is
doneCopyright © 2014 UniTime LLC. All Rights Reserved.