5960616263646566
*/ public void registerAddress(AddressType type, Address address) { if (addresses.containsKey(type)) { apply(new AddressChangedEvent(id, type, address)); } else { apply(new AddressAddedEvent(id, type, address)); } }