public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) {
if (right instanceof AddressDetails.Address) {
final AddressDetails.Address target = this;
final AddressDetails.Address leftObject = ((AddressDetails.Address) left);
final AddressDetails.Address rightObject = ((AddressDetails.Address) right);
{
String lhsContent;
lhsContent = leftObject.getContent();
String rhsContent;
rhsContent = rightObject.getContent();
target.setContent(((String) strategy.merge(LocatorUtils.property(leftLocator, "content", lhsContent), LocatorUtils.property(rightLocator, "content", rhsContent), lhsContent, rhsContent)));
}
{
String lhsType;
lhsType = leftObject.getType();
String rhsType;
rhsType = rightObject.getType();
target.setType(((String) strategy.merge(LocatorUtils.property(leftLocator, "type", lhsType), LocatorUtils.property(rightLocator, "type", rhsType), lhsType, rhsType)));
}
{
String lhsCode;
lhsCode = leftObject.getCode();
String rhsCode;
rhsCode = rightObject.getCode();
target.setCode(((String) strategy.merge(LocatorUtils.property(leftLocator, "code", lhsCode), LocatorUtils.property(rightLocator, "code", rhsCode), lhsCode, rhsCode)));
}
}
}