Пример #1
0
 /**
  * Remove a job from the jobList
  *
  * @param job the job to remove
  */
 public void removeJob(Job job) {
   jobList.remove(job);
   job.setUser(null);
 }
Пример #2
0
 /**
  * Add a job to the jobList
  *
  * @param job the job to add
  */
 public void addJob(Job job) {
   jobList.add(job);
   job.setUser(this);
 }