/** @param employee */
 public OutstandingImprovementItem(OutstandingImprovement improvement) {
   super(improvement.getEmployee());
   setId(improvement.getId());
   setSourceSchool(improvement.getSourceSchool().getTitle());
   setTargetSchool(improvement.getTargetSchool().getTitle());
   setImprovementRegion(improvement.getSourceSchool().getRegionCode());
 }
 public void updateValueDueToEmployee() {
   Employee selectedEmployee = getInstance().getEmployee();
   if (selectedEmployee != null) {
     info("updating values due to employee modification #0", selectedEmployee);
     OutstandingImprovement instance = getInstance();
     Employment employment = instance.getEmployee().getCurrentEmployment();
     instance.setSourcePYSDE(employment.getSchool().getPysde());
     instance.setSourceSchool(employment.getSchool());
   } else {
     warn("updateValueDueToEmployee called, but no employee is selected.");
   }
 }
 /** @see org.jboss.seam.framework.Home#createInstance() */
 @Override
 protected OutstandingImprovement createInstance() {
   OutstandingImprovement instance = new OutstandingImprovement();
   instance.setIsProcessed(Boolean.FALSE);
   return instance;
 }