sourceEndorsementLineCode = this.getEndorsementLineCode(); AddressDetails.PostalServiceElements.EndorsementLineCode copyEndorsementLineCode = ((AddressDetails.PostalServiceElements.EndorsementLineCode) strategy.copy(LocatorUtils.property(locator, "endorsementLineCode", sourceEndorsementLineCode), sourceEndorsementLineCode)); copy.setEndorsementLineCode(copyEndorsementLineCode); } else { copy.endorsementLineCode = null;
public AddressDetails.PostalServiceElements marshalPostalServiceElements(PostalServiceElements src) { AddressDetails.PostalServiceElements dest = xal.createAddressDetailsPostalServiceElements(); if (src.isSetAddressIdentifier()) { for (AddressIdentifier addressIdentifier : src.getAddressIdentifier()) dest.getAddressIdentifier().add(marshalAddressIdentifier(addressIdentifier)); } if (src.isSetAddressLatitude()) dest.setAddressLatitude(marshalAddressLatitude(src.getAddressLatitude())); if (src.isSetAddressLatitudeDirection()) dest.setAddressLatitudeDirection(marshalAddressLatitudeDirection(src.getAddressLatitudeDirection())); if (src.isSetAddressLongitude()) dest.setAddressLongitude(marshalAddressLongitude(src.getAddressLongitude())); if (src.isSetAddressLongitudeDirection()) dest.setAddressLongitudeDirection(marshalAddressLongitudeDirection(src.getAddressLongitudeDirection())); if (src.isSetBarcode()) dest.setBarcode(marshalBarcode(src.getBarcode())); if (src.isSetEndorsementLineCode()) dest.setEndorsementLineCode(marshalEndorsementLineCode(src.getEndorsementLineCode())); if (src.isSetKeyLineCode()) dest.setKeyLineCode(marshalKeyLineCode(src.getKeyLineCode())); if (src.isSetSortingCode()) dest.setSortingCode(marshalSortingCode(src.getSortingCode())); if (src.isSetSupplementaryPostalServiceData()) { for (SupplementaryPostalServiceData supplementaryPostalServiceData : src.getSupplementaryPostalServiceData()) dest.getSupplementaryPostalServiceData().add(marshalSupplementaryPostalServiceData(supplementaryPostalServiceData)); } if (src.isSetType()) dest.setType(src.getType()); return dest; }
AddressDetails.PostalServiceElements.EndorsementLineCode rhsEndorsementLineCode; rhsEndorsementLineCode = rightObject.getEndorsementLineCode(); target.setEndorsementLineCode(((AddressDetails.PostalServiceElements.EndorsementLineCode) strategy.merge(LocatorUtils.property(leftLocator, "endorsementLineCode", lhsEndorsementLineCode), LocatorUtils.property(rightLocator, "endorsementLineCode", rhsEndorsementLineCode), lhsEndorsementLineCode, rhsEndorsementLineCode)));