public void mergeFrom(ObjectLocator leftLocator, ObjectLocator rightLocator, Object left, Object right, MergeStrategy strategy) {
if (right instanceof ThoroughfareTrailingTypeType) {
final ThoroughfareTrailingTypeType target = this;
final ThoroughfareTrailingTypeType leftObject = ((ThoroughfareTrailingTypeType) left);
final ThoroughfareTrailingTypeType rightObject = ((ThoroughfareTrailingTypeType) 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)));
}
}
}