public void save() {
   if (isPersisted()) {
     tutorshipSummaryRelation.update(this);
   } else {
     TutorshipSummaryRelation.create(this);
   }
 }
  public TutorshipSummaryRelationBean(TutorshipSummaryRelation tutorshipSummaryRelation) {
    this.tutorshipSummaryRelation = tutorshipSummaryRelation;

    this.tutorship = tutorshipSummaryRelation.getTutorship();
    this.tutorshipSummary = tutorshipSummaryRelation.getTutorshipSummary();
    this.executionSemester = tutorshipSummaryRelation.getTutorshipSummary().getSemester();

    this.participationRegularly = tutorshipSummaryRelation.getParticipationRegularly();
    this.participationNone = tutorshipSummaryRelation.getParticipationNone();
    this.outOfTouch = tutorshipSummaryRelation.getOutOfTouch();
    this.highPerformance = tutorshipSummaryRelation.getHighPerformance();
    this.lowPerformance = tutorshipSummaryRelation.getLowPerformance();

    this.participationType = tutorshipSummaryRelation.getParticipationType();

    initPerformance();
  }
 public String getExternalId() {
   return tutorshipSummaryRelation.getExternalId();
 }