@Override
public PhotoEntity fromScim(Photo scim) {
PhotoEntity photoEntity = new PhotoEntity();
photoEntity.setValue(scim.getValueAsURI().toString());
photoEntity.setType(scim.getType());
<BUG>photoEntity.setPrimary(scim.isPrimary());
return photoEntity;</BUG>
}
@Override
public Photo toScim(PhotoEntity entity) {

@Override
public PhotoEntity fromScim(Photo scim) {
PhotoEntity photoEntity = new PhotoEntity();
photoEntity.setValue(scim.getValueAsURI().toString());
photoEntity.setType(scim.getType());
photoEntity.setPrimary(scim.isPrimary());
photoEntity.setDisplay(scim.getDisplay());
return photoEntity;
}
@Override
public Photo toScim(PhotoEntity entity) {
