public void setContactTypes(List<UserContactType> contactTypes) { this.contactTypes = new HashMap<>(); for (UserContactType contactType : contactTypes) { this.contactTypes.put(contactType.getId(), contactType.getTypeName()); } } }
public void setContactTypes(List<UserContactType> contactTypes) { this.contactTypes = new HashMap<>(); for (UserContactType contactType : contactTypes) { this.contactTypes.put(contactType.getId(), contactType.getTypeName()); } } }