@Override
public EmailEntity fromScim(Email scim) {
EmailEntity emailEntity = new EmailEntity();
emailEntity.setValue(scim.getValue());
emailEntity.setPrimary(scim.isPrimary());
<BUG>emailEntity.setType(scim.getType());
return emailEntity;</BUG>
}
@Override
public Email toScim(EmailEntity entity) {

@Override
public EmailEntity fromScim(Email scim) {
EmailEntity emailEntity = new EmailEntity();
emailEntity.setValue(scim.getValue());
emailEntity.setPrimary(scim.isPrimary());
emailEntity.setType(scim.getType());
emailEntity.setDisplay(scim.getDisplay());
return emailEntity;
}
@Override
public Email toScim(EmailEntity entity) {
