public void fromTeamRole(TeamRole role) {
   if (role != null) {
     name.setText(role.getName());
     setSelectedList(rolesList, role.getRole());
   } else {
     name.setText("");
     setSelectedList(rolesList, null);
   }
 }
 public void toTeamRole(TeamRole role) {
   if (role != null) {
     role.setName(name.getText());
     role.setRole((Role) getSelecetdList(rolesList));
   }
 }