public void updateActivityAssignment() throws Exception {
   activityObj.setActivityId("1001");
   activityUserObj.setActivityObj(activityObj);
   userObj.setEmpNo("002");
   activityUserObj.setUserObj(userObj);
   activityUserObj.setActivityEffort(0);
   Date startDate = new Date(2010, 05, 07);
   activityUserObj.setStartDate(startDate);
   Date endDate = new Date(2010, 05, 10);
   activityUserObj.setEndDate(endDate);
   activityUserObj.setStatus(0);
   activityUserObj.setPercentageCompleted(0);
   activityUserObj.setTimeStamp("null");
   System.out.println(tmsManager.updateTestActivityAssignment(activityUserObj));
 }
 /*-----------------------------------------ViewAssignment------------------------------------------*/
 public void getActivityAssignment() throws Exception {
   activityObj.setActivityId("1001");
   activityUserObj.setActivityObj(activityObj);
   activityObj = activityUserObj.getActivityObj();
   ActivityUser activityUserObj1 =
       tmsManager.getTestActivityAssignment(activityObj.getActivityId());
   activityObj = activityUserObj1.getActivityObj();
   System.out.println(activityObj.getActivityId());
   activityObj = activityUserObj1.getActivityObj();
   System.out.println("activity_id : " + activityObj.getActivityId());
   userObj = activityUserObj1.getUserObj();
   System.out.println("emp_no : " + userObj.getEmpNo());
   System.out.println("activity_effort : " + activityUserObj1.getActivityEffort());
   System.out.println("start_date : " + activityUserObj1.getStartDate());
   System.out.println("end_date : " + activityUserObj1.getEndDate());
   System.out.println("status : " + activityUserObj1.getStatus());
   System.out.println("percentage_completed : " + activityUserObj1.getPercentageCompleted());
   System.out.println("time_stamp : " + activityUserObj1.getTimeStamp());
 }