public void copyFromDomain(MasterDegreeThesis masterDegreeThesis) {
   super.copyFromDomain(masterDegreeThesis);
   if (masterDegreeThesis != null) {
     setInfoStudentCurricularPlan(
         InfoStudentCurricularPlan.newInfoFromDomain(
             masterDegreeThesis.getStudentCurricularPlan()));
   }
 }
  // 解析XML資料
  private void bindStudentList(Element content) {

    mListStudent.clear();
    map.clear();
    int studSize = 0;
    for (Element item : XmlUtil.selectElements(content)) {
      studSize += 1;
      InfoObject into = new InfoObject();
      into.ClassName = XmlUtil.getElementText(item, "ClassName");

      if (!map.contains(into.ClassName)) {
        into.IsExtends = false;
        mListStudent.add(into);
        map.add(into.ClassName);
      }

      StudentObject stud = new StudentObject();
      stud.IsExtends = true;
      stud.ClassName = XmlUtil.getElementText(item, "ClassName");
      stud.StudentNumber = XmlUtil.getElementText(item, "StudentNumber");
      stud.StudentName = XmlUtil.getElementText(item, "StudentName");
      stud.Gender = XmlUtil.getElementText(item, "Gender");
      stud.StudentId = XmlUtil.getElementText(item, "RefStudentId");
      mListStudent.add(stud);
    }

    Collections.sort(
        mListStudent,
        new Comparator<InfoObject>() {
          @Override
          public int compare(InfoObject lhs, InfoObject rhs) {
            return lhs.ClassName.compareTo(rhs.ClassName);
          }
        });

    TextView txtStudentCount = (TextView) getActivity().findViewById(R.id.course_countStudent);
    txtStudentCount.setText("學生人數:" + studSize);
    startDisplay();
  }
 public void copyFromDomain(TeacherPersonalExpectation teacherPersonalExpectation) {
   if (teacherPersonalExpectation != null) {
     super.copyFromDomain(teacherPersonalExpectation);
     setBookPublications(teacherPersonalExpectation.getBookPublications());
     setCientificComunityService(teacherPersonalExpectation.getCientificComunityService());
     setCientificPosGraduations(teacherPersonalExpectation.getCientificPosGraduations());
     setCientificPosGraduationsDescription(
         teacherPersonalExpectation.getCientificPosGraduationsDescription());
     setCompanyPositions(teacherPersonalExpectation.getCompanyPositions());
     setCompanySocialOrgans(teacherPersonalExpectation.getCompanySocialOrgans());
     setConferencePublications(teacherPersonalExpectation.getConferencePublications());
     setConsulting(teacherPersonalExpectation.getConsulting());
     setDepartmentOrgans(teacherPersonalExpectation.getDepartmentOrgans());
     setEducationMainFocus(teacherPersonalExpectation.getEducationMainFocus());
     setFinalDegreeWorkOrientations(teacherPersonalExpectation.getFinalDegreeWorkOrientations());
     setGraduations(teacherPersonalExpectation.getGraduations());
     setGraduationsDescription(teacherPersonalExpectation.getGraduationsDescription());
     setIstOrgans(teacherPersonalExpectation.getIstOrgans());
     setJornalArticlePublications(teacherPersonalExpectation.getJornalArticlePublications());
     setMasterDegreeOrientations(teacherPersonalExpectation.getMasterDegreeOrientations());
     setOtherPublications(teacherPersonalExpectation.getOtherPublications());
     setOtherPublicationsDescription(teacherPersonalExpectation.getOtherPublicationsDescription());
     setOrientationsMainFocus(teacherPersonalExpectation.getOrientationsMainFocus());
     setPatentPublications(teacherPersonalExpectation.getPatentPublications());
     setPhdOrientations(teacherPersonalExpectation.getPhdOrientations());
     setProfessionalActivityMainFocus(
         teacherPersonalExpectation.getProfessionalActivityMainFocus());
     setProfessionalPosGraduations(teacherPersonalExpectation.getProfessionalPosGraduations());
     setProfessionalPosGraduationsDescription(
         teacherPersonalExpectation.getProfessionalPosGraduationsDescription());
     setResearchAndDevProjects(teacherPersonalExpectation.getResearchAndDevProjects());
     setResearchAndDevMainFocus(teacherPersonalExpectation.getResearchAndDevMainFocus());
     setSeminaries(teacherPersonalExpectation.getSeminaries());
     setSeminariesDescription(teacherPersonalExpectation.getSeminariesDescription());
     setSocietyService(teacherPersonalExpectation.getSocietyService());
     setTechnicalReportPublications(teacherPersonalExpectation.getTechnicalReportPublications());
     setTutorComment(teacherPersonalExpectation.getTutorComment());
     setUniversityServiceMainFocus(teacherPersonalExpectation.getUniversityServiceMainFocus());
     setUtlOrgans(teacherPersonalExpectation.getUtlOrgans());
   }
 }