예제 #1
0
  public MockRole(final SorRole sorRole) {
    this.sorRoleId = sorRole.getId();
    this.end = sorRole.getEnd();
    this.terminationReason = sorRole.getTerminationReason();
    for (EmailAddress ea : sorRole.getEmailAddresses()) {
      this.addEmailAddress(ea);
    }
    for (Phone phone : sorRole.getPhones()) {
      this.addPhone(phone);
    }
    this.affiliationType = sorRole.getAffiliationType();

    this.title = sorRole.getTitle();
  }