public void setCountryName(List<CountryName> value) { List<CountryName> draftl = this.getCountryName(); draftl.addAll(value); }
sourceCountryName = this.getCountryName(); @SuppressWarnings("unchecked") List<CountryName> copyCountryName = ((List<CountryName> ) strategy.copy(LocatorUtils.property(locator, "countryName", sourceCountryName), sourceCountryName)); copy.countryName = null; List<CountryName> uniqueCountryNamel = copy.getCountryName(); uniqueCountryNamel.addAll(copyCountryName); } 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; }
lhsCountryName = this.getCountryName(); List<CountryName> rhsCountryName; rhsCountryName = that.getCountryName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "countryName", lhsCountryName), LocatorUtils.property(thatLocator, "countryName", rhsCountryName), lhsCountryName, rhsCountryName)) { return false;
lhsCountryName = leftObject.getCountryName(); List<CountryName> rhsCountryName; rhsCountryName = rightObject.getCountryName(); target.countryName = null; List<CountryName> uniqueCountryNamel = target.getCountryName(); uniqueCountryNamel.addAll(((List<CountryName> ) strategy.merge(LocatorUtils.property(leftLocator, "countryName", lhsCountryName), LocatorUtils.property(rightLocator, "countryName", rhsCountryName), lhsCountryName, rhsCountryName)));
theCountryName = this.getCountryName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "countryName", theCountryName), currentHashCode, theCountryName);
theCountryName = this.getCountryName(); strategy.appendField(locator, this, "countryName", buffer, theCountryName);
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; }