예제 #1
0
 public String toString() {
   Subject subject = null;
   try {
     subject.setSubject(ReadSubjects.getSubj(subjectId));
   } catch (ClassNotFoundException e) {
     logger.error(e);
   }
   return testId + testName + " " + subject.getSubject();
 }
예제 #2
0
 @Override
 public void visitor(Subject sub) {
   System.out.println("visit the " + sub.getSubject());
 }