Generated by
JDiff

Class org.cyclos.utils.AddressHelper

Removed Methods
Set<OptionalAddressFields> getOptionalFields(IAddress) Returns the optional fields which are not empty for the given address
 

Added Methods
MessageKey resolveKey(Collection<AddressFields>, AddressFields) Returns the message key of the given field according to the enabled address fields
 

Changed Methods
Property<String, AddressDTO> getDTOPropertyForField(AddressFields) Change in signature from OptionalAddressFields to AddressFields.
Returns the correspondent property object of an optional address field from the given address
String getDefaultValue(AddressFields, AddressConfigurationData) Change in signature from (OptionalAddressFields, AddressConfigurationData) to (AddressFields, AddressConfigurationData).
Returns the default value for the given field under the given configuration
Property<String, AddressVO> getVOPropertyForField(AddressFields) Change in signature from OptionalAddressFields to AddressFields.
Returns the correspondent property object of an optional address field from the AddressVO bean.
String getValue(AddressFields, IAddress) Change in signature from (OptionalAddressFields, IAddress) to (AddressFields, IAddress).
Returns the value for a given optional field for the given address
boolean isRequired(List<AddressFields>, AddressFields) Change in signature from (List<OptionalAddressFields>, OptionalAddressFields) to (List<AddressFields>, AddressFields).
Returns true if the given address field is included in the given required address fields
void setValue(AddressFields, IAddress, String) Change in signature from (OptionalAddressFields, IAddress, String) to (AddressFields, IAddress, String).
Sets the value for a given optional field on the given address
AddressSnapshot snapshot(Collection<AddressFields>, AddressDTO) Change in signature from (Collection<OptionalAddressFields>, AddressDTO) to (Collection<AddressFields>, AddressDTO).
It takes a snapshot of the address dto parameter taking into account the specified fields