/** * Create an instance of {@link DependentLocalityType } * */ public DependentLocalityType createDependentLocalityType() { return new DependentLocalityType(); }
public void setAddressLine(List<AddressLine> value) { List<AddressLine> draftl = this.getAddressLine(); draftl.addAll(value); }
public void setDependentLocalityName(List<DependentLocalityType.DependentLocalityName> value) { List<DependentLocalityType.DependentLocalityName> draftl = this.getDependentLocalityName(); draftl.addAll(value); }
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))); lhsDependentLocalityName = leftObject.getDependentLocalityName(); List<DependentLocalityType.DependentLocalityName> rhsDependentLocalityName; rhsDependentLocalityName = rightObject.getDependentLocalityName(); target.dependentLocalityName = null; List<DependentLocalityType.DependentLocalityName> uniqueDependentLocalityNamel = target.getDependentLocalityName(); uniqueDependentLocalityNamel.addAll(((List<DependentLocalityType.DependentLocalityName> ) strategy.merge(LocatorUtils.property(leftLocator, "dependentLocalityName", lhsDependentLocalityName), LocatorUtils.property(rightLocator, "dependentLocalityName", rhsDependentLocalityName), lhsDependentLocalityName, rhsDependentLocalityName))); lhsDependentLocalityNumber = leftObject.getDependentLocalityNumber(); DependentLocalityType.DependentLocalityNumber rhsDependentLocalityNumber; rhsDependentLocalityNumber = rightObject.getDependentLocalityNumber(); target.setDependentLocalityNumber(((DependentLocalityType.DependentLocalityNumber) strategy.merge(LocatorUtils.property(leftLocator, "dependentLocalityNumber", lhsDependentLocalityNumber), LocatorUtils.property(rightLocator, "dependentLocalityNumber", rhsDependentLocalityNumber), lhsDependentLocalityNumber, rhsDependentLocalityNumber))); lhsPostBox = leftObject.getPostBox(); PostBox rhsPostBox; rhsPostBox = rightObject.getPostBox(); target.setPostBox(((PostBox) strategy.merge(LocatorUtils.property(leftLocator, "postBox", lhsPostBox), LocatorUtils.property(rightLocator, "postBox", rhsPostBox), lhsPostBox, rhsPostBox))); lhsLargeMailUser = leftObject.getLargeMailUser(); LargeMailUserType rhsLargeMailUser; rhsLargeMailUser = rightObject.getLargeMailUser(); target.setLargeMailUser(((LargeMailUserType) strategy.merge(LocatorUtils.property(leftLocator, "largeMailUser", lhsLargeMailUser), LocatorUtils.property(rightLocator, "largeMailUser", rhsLargeMailUser), lhsLargeMailUser, rhsLargeMailUser)));
if (src.isSetAddressLine()) { for (AddressLineElement addressLine : src.getAddressLine()) dest.addAddressLine(unmarshalAddressLine(addressLine)); if (src.isSetConnector()) dest.setConnector(src.getConnector()); if (src.isSetDependentLocality()) dest.setDependentLocality(unmarshalDependentLocality(src.getDependentLocality())); if (src.isSetDependentLocalityName()) { for (DependentLocalityType.DependentLocalityName dependentLocalityName : src.getDependentLocalityName()) dest.addDependentLocalityName(unmarshalDependentLocalityName(dependentLocalityName)); if (src.isSetDependentLocalityNumber()) dest.setDependentLocalityNumber(unmarshalDependentLocalityNumber(src.getDependentLocalityNumber())); if (src.isSetIndicator()) dest.setIndicator(src.getIndicator()); if (src.isSetLargeMailUser()) dest.setLargeMailUser(unmarshalLargeMailUser(src.getLargeMailUser())); if (src.isSetPostalCode()) dest.setPostalCode(unmarshalPostalCode(src.getPostalCode())); if (src.isSetPostalRoute()) dest.setPostalRoute(unmarshalPostalRoute(src.getPostalRoute()));
theAddressLine = this.getAddressLine(); strategy.appendField(locator, this, "addressLine", buffer, theAddressLine); theDependentLocalityName = this.getDependentLocalityName(); strategy.appendField(locator, this, "dependentLocalityName", buffer, theDependentLocalityName); theDependentLocalityNumber = this.getDependentLocalityNumber(); strategy.appendField(locator, this, "dependentLocalityNumber", buffer, theDependentLocalityNumber); thePostBox = this.getPostBox(); strategy.appendField(locator, this, "postBox", buffer, thePostBox); theLargeMailUser = this.getLargeMailUser(); strategy.appendField(locator, this, "largeMailUser", buffer, theLargeMailUser); thePostOffice = this.getPostOffice(); strategy.appendField(locator, this, "postOffice", buffer, thePostOffice); thePostalRoute = this.getPostalRoute(); strategy.appendField(locator, this, "postalRoute", buffer, thePostalRoute); theThoroughfare = this.getThoroughfare(); strategy.appendField(locator, this, "thoroughfare", buffer, theThoroughfare); thePremise = this.getPremise(); strategy.appendField(locator, this, "premise", buffer, thePremise); theDependentLocality = this.getDependentLocality(); strategy.appendField(locator, this, "dependentLocality", buffer, theDependentLocality);
dest.getAddressLine().add(marshalAddressLine(addressLine)); dest.setConnector(src.getConnector()); dest.setDependentLocality(marshalDependentLocality(src.getDependentLocality())); dest.getDependentLocalityName().add(marshalDependentLocalityName(dependentLocalityName)); dest.setDependentLocalityNumber(marshalDependentLocalityNumber(src.getDependentLocalityNumber())); dest.setIndicator(src.getIndicator()); dest.setLargeMailUser(marshalLargeMailUser(src.getLargeMailUser())); dest.setPostalCode(marshalPostalCode(src.getPostalCode())); dest.setPostalRoute(marshalPostalRoute(src.getPostalRoute())); dest.setPostBox(marshalPostBox(src.getPostBox())); dest.setPostOffice(marshalPostOffice(src.getPostOffice())); dest.setPremise(marshalPremise(src.getPremise())); dest.setThoroughfare(marshalThoroughfare(src.getThoroughfare())); dest.setType(src.getType()); dest.setUsageType(src.getUsageType());
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof DependentLocalityType) { final DependentLocalityType copy = ((DependentLocalityType) draftCopy); 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 { sourceDependentLocalityName = this.getDependentLocalityName(); @SuppressWarnings("unchecked") List<DependentLocalityType.DependentLocalityName> copyDependentLocalityName = ((List<DependentLocalityType.DependentLocalityName> ) strategy.copy(LocatorUtils.property(locator, "dependentLocalityName", sourceDependentLocalityName), sourceDependentLocalityName)); copy.dependentLocalityName = null; List<DependentLocalityType.DependentLocalityName> uniqueDependentLocalityNamel = copy.getDependentLocalityName(); uniqueDependentLocalityNamel.addAll(copyDependentLocalityName); } else { sourceDependentLocalityNumber = this.getDependentLocalityNumber(); DependentLocalityType.DependentLocalityNumber copyDependentLocalityNumber = ((DependentLocalityType.DependentLocalityNumber) strategy.copy(LocatorUtils.property(locator, "dependentLocalityNumber", sourceDependentLocalityNumber), sourceDependentLocalityNumber)); copy.setDependentLocalityNumber(copyDependentLocalityNumber); } else { copy.dependentLocalityNumber = null; sourcePostBox = this.getPostBox(); PostBox copyPostBox = ((PostBox) strategy.copy(LocatorUtils.property(locator, "postBox", sourcePostBox), sourcePostBox));
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; lhsDependentLocalityName = this.getDependentLocalityName(); List<DependentLocalityType.DependentLocalityName> rhsDependentLocalityName; rhsDependentLocalityName = that.getDependentLocalityName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dependentLocalityName", lhsDependentLocalityName), LocatorUtils.property(thatLocator, "dependentLocalityName", rhsDependentLocalityName), lhsDependentLocalityName, rhsDependentLocalityName)) { return false; lhsDependentLocalityNumber = this.getDependentLocalityNumber(); DependentLocalityType.DependentLocalityNumber rhsDependentLocalityNumber; rhsDependentLocalityNumber = that.getDependentLocalityNumber(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dependentLocalityNumber", lhsDependentLocalityNumber), LocatorUtils.property(thatLocator, "dependentLocalityNumber", rhsDependentLocalityNumber), lhsDependentLocalityNumber, rhsDependentLocalityNumber)) { return false; lhsPostBox = this.getPostBox(); PostBox rhsPostBox; rhsPostBox = that.getPostBox(); if (!strategy.equals(LocatorUtils.property(thisLocator, "postBox", lhsPostBox), LocatorUtils.property(thatLocator, "postBox", rhsPostBox), lhsPostBox, rhsPostBox)) { return false; lhsLargeMailUser = this.getLargeMailUser(); LargeMailUserType rhsLargeMailUser; rhsLargeMailUser = that.getLargeMailUser(); if (!strategy.equals(LocatorUtils.property(thisLocator, "largeMailUser", lhsLargeMailUser), LocatorUtils.property(thatLocator, "largeMailUser", rhsLargeMailUser), lhsLargeMailUser, rhsLargeMailUser)) { return false;
theAddressLine = this.getAddressLine(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "addressLine", theAddressLine), currentHashCode, theAddressLine); theDependentLocalityName = this.getDependentLocalityName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dependentLocalityName", theDependentLocalityName), currentHashCode, theDependentLocalityName); theDependentLocalityNumber = this.getDependentLocalityNumber(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dependentLocalityNumber", theDependentLocalityNumber), currentHashCode, theDependentLocalityNumber); thePostBox = this.getPostBox(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postBox", thePostBox), currentHashCode, thePostBox); theLargeMailUser = this.getLargeMailUser(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "largeMailUser", theLargeMailUser), currentHashCode, theLargeMailUser); thePostOffice = this.getPostOffice(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postOffice", thePostOffice), currentHashCode, thePostOffice); thePostalRoute = this.getPostalRoute(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postalRoute", thePostalRoute), currentHashCode, thePostalRoute); theThoroughfare = this.getThoroughfare(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "thoroughfare", theThoroughfare), currentHashCode, theThoroughfare); thePremise = this.getPremise(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "premise", thePremise), currentHashCode, thePremise); theDependentLocality = this.getDependentLocality(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dependentLocality", theDependentLocality), currentHashCode, theDependentLocality);
/** * Create an instance of {@link DependentLocalityType } * */ public DependentLocalityType createDependentLocalityType() { return new DependentLocalityType(); }
public Object createNewInstance() { return new DependentLocalityType(); }