public void setAddressLine(List<AddressLine> value) { List<AddressLine> draftl = this.getAddressLine(); draftl.addAll(value); }
if ((this.addressLine!= null)&&(!this.addressLine.isEmpty())) { List<AddressLine> sourceAddressLine; sourceAddressLine = this.getAddressLine(); @SuppressWarnings("unchecked") List<AddressLine> copyAddressLine = ((List<AddressLine> ) strategy.copy(LocatorUtils.property(locator, "addressLine", sourceAddressLine), sourceAddressLine)); copy.addressLine = null; List<AddressLine> uniqueAddressLinel = copy.getAddressLine(); uniqueAddressLinel.addAll(copyAddressLine); } else {
public AddressDetails.Country marshalCountry(Country src) { AddressDetails.Country dest = xal.createAddressDetailsCountry(); if (src.isSetAddressLine()) { for (AddressLine addressLine : src.getAddressLine()) dest.getAddressLine().add(marshalAddressLine(addressLine)); } if (src.isSetAdministrativeArea()) dest.setAdministrativeArea(marshalAdministrativeArea(src.getAdministrativeArea())); if (src.isSetCountryName()) { for (CountryName countryName : src.getCountryName()) dest.getCountryName().add(marshalCountryName(countryName)); } if (src.isSetCountryNameCode()) { for (CountryNameCode countryNameCode : src.getCountryNameCode()) dest.getCountryNameCode().add(marshalCountryNameCode(countryNameCode)); } if (src.isSetLocality()) dest.setLocality(marshalLocality(src.getLocality())); if (src.isSetThoroughfare()) dest.setThoroughfare(marshalThoroughfare(src.getThoroughfare())); return dest; }
lhsAddressLine = this.getAddressLine(); List<AddressLine> rhsAddressLine; rhsAddressLine = that.getAddressLine(); if (!strategy.equals(LocatorUtils.property(thisLocator, "addressLine", lhsAddressLine), LocatorUtils.property(thatLocator, "addressLine", rhsAddressLine), lhsAddressLine, rhsAddressLine)) { return false;
lhsAddressLine = leftObject.getAddressLine(); List<AddressLine> rhsAddressLine; rhsAddressLine = rightObject.getAddressLine(); target.addressLine = null; List<AddressLine> uniqueAddressLinel = target.getAddressLine(); uniqueAddressLinel.addAll(((List<AddressLine> ) strategy.merge(LocatorUtils.property(leftLocator, "addressLine", lhsAddressLine), LocatorUtils.property(rightLocator, "addressLine", rhsAddressLine), lhsAddressLine, rhsAddressLine)));
theAddressLine = this.getAddressLine(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "addressLine", theAddressLine), currentHashCode, theAddressLine);
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { theAddressLine = this.getAddressLine(); strategy.appendField(locator, this, "addressLine", buffer, theAddressLine);
public Country unmarshalCountry(AddressDetails.Country src) { Country dest = new Country(); if (src.isSetAddressLine()) { for (AddressLineElement addressLine : src.getAddressLine()) dest.addAddressLine(unmarshalAddressLine(addressLine)); } if (src.isSetAdministrativeArea()) dest.setAdministrativeArea(unmarshalAdministrativeArea(src.getAdministrativeArea())); if (src.isSetCountryName()) { for (CountryNameElement countryName : src.getCountryName()) dest.addCountryName(unmarshalCountryName(countryName)); } if (src.isSetCountryNameCode()) { for (AddressDetails.Country.CountryNameCode countryNameCode : src.getCountryNameCode()) dest.addCountryNameCode(unmarshalCountryNameCode(countryNameCode)); } if (src.isSetLocality()) dest.setLocality(unmarshalLocality(src.getLocality())); if (src.isSetThoroughfare()) dest.setThoroughfare(unmarshalThoroughfare(src.getThoroughfare())); return dest; }