/** * Create an instance of {@link SubPremiseType } * */ public SubPremiseType createSubPremiseType() { return new SubPremiseType(); }
public void setAddressLine(List<AddressLine> value) { List<AddressLine> draftl = this.getAddressLine(); draftl.addAll(value); }
public void setBuildingName(List<BuildingNameType> value) { List<BuildingNameType> draftl = this.getBuildingName(); 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))); lhsSubPremiseName = leftObject.getSubPremiseName(); List<SubPremiseType.SubPremiseName> rhsSubPremiseName; rhsSubPremiseName = rightObject.getSubPremiseName(); target.subPremiseName = null; List<SubPremiseType.SubPremiseName> uniqueSubPremiseNamel = target.getSubPremiseName(); uniqueSubPremiseNamel.addAll(((List<SubPremiseType.SubPremiseName> ) strategy.merge(LocatorUtils.property(leftLocator, "subPremiseName", lhsSubPremiseName), LocatorUtils.property(rightLocator, "subPremiseName", rhsSubPremiseName), lhsSubPremiseName, rhsSubPremiseName))); lhsSubPremiseLocation = leftObject.getSubPremiseLocation(); SubPremiseType.SubPremiseLocation rhsSubPremiseLocation; rhsSubPremiseLocation = rightObject.getSubPremiseLocation(); target.setSubPremiseLocation(((SubPremiseType.SubPremiseLocation) strategy.merge(LocatorUtils.property(leftLocator, "subPremiseLocation", lhsSubPremiseLocation), LocatorUtils.property(rightLocator, "subPremiseLocation", rhsSubPremiseLocation), lhsSubPremiseLocation, rhsSubPremiseLocation))); lhsSubPremiseNumber = leftObject.getSubPremiseNumber(); List<SubPremiseType.SubPremiseNumber> rhsSubPremiseNumber; rhsSubPremiseNumber = rightObject.getSubPremiseNumber(); target.subPremiseNumber = null; List<SubPremiseType.SubPremiseNumber> uniqueSubPremiseNumberl = target.getSubPremiseNumber(); uniqueSubPremiseNumberl.addAll(((List<SubPremiseType.SubPremiseNumber> ) strategy.merge(LocatorUtils.property(leftLocator, "subPremiseNumber", lhsSubPremiseNumber), LocatorUtils.property(rightLocator, "subPremiseNumber", rhsSubPremiseNumber), lhsSubPremiseNumber, rhsSubPremiseNumber))); lhsSubPremiseNumberPrefix = leftObject.getSubPremiseNumberPrefix(); List<SubPremiseType.SubPremiseNumberPrefix> rhsSubPremiseNumberPrefix; rhsSubPremiseNumberPrefix = rightObject.getSubPremiseNumberPrefix();
if (src.isSetAddressLine()) { for (AddressLineElement addressLine : src.getAddressLine()) dest.addAddressLine(unmarshalAddressLine(addressLine)); if (src.isSetBuildingName()) { for (BuildingNameType buildingName : src.getBuildingName()) dest.addBuildingName(unmarshalBuildingName(buildingName)); if (src.isSetFirm()) dest.setFirm(unmarshalFirm(src.getFirm())); if (src.isSetMailStop()) dest.setMailStop(unmarshalMailStop(src.getMailStop())); if (src.isSetPostalCode()) dest.setPostalCode(unmarshalPostalCode(src.getPostalCode())); if (src.isSetSubPremise()) dest.setSubPremise(unmarshalSubPremise(src.getSubPremise())); if (src.isSetSubPremiseLocation()) dest.setSubPremiseLocation(unmarshalSubPremiseLocation(src.getSubPremiseLocation())); if (src.isSetSubPremiseName()) { for (SubPremiseType.SubPremiseName subPremiseName : src.getSubPremiseName()) dest.addSubPremiseName(unmarshalSubPremiseName(subPremiseName)); if (src.isSetSubPremiseNumber()) { for (SubPremiseType.SubPremiseNumber subPremiseNumber : src.getSubPremiseNumber())
theAddressLine = this.getAddressLine(); strategy.appendField(locator, this, "addressLine", buffer, theAddressLine); theSubPremiseName = this.getSubPremiseName(); strategy.appendField(locator, this, "subPremiseName", buffer, theSubPremiseName); theSubPremiseLocation = this.getSubPremiseLocation(); strategy.appendField(locator, this, "subPremiseLocation", buffer, theSubPremiseLocation); theSubPremiseNumber = this.getSubPremiseNumber(); strategy.appendField(locator, this, "subPremiseNumber", buffer, theSubPremiseNumber); theSubPremiseNumberPrefix = this.getSubPremiseNumberPrefix(); strategy.appendField(locator, this, "subPremiseNumberPrefix", buffer, theSubPremiseNumberPrefix); theSubPremiseNumberSuffix = this.getSubPremiseNumberSuffix(); strategy.appendField(locator, this, "subPremiseNumberSuffix", buffer, theSubPremiseNumberSuffix); theBuildingName = this.getBuildingName(); strategy.appendField(locator, this, "buildingName", buffer, theBuildingName); theFirm = this.getFirm(); strategy.appendField(locator, this, "firm", buffer, theFirm); theMailStop = this.getMailStop(); strategy.appendField(locator, this, "mailStop", buffer, theMailStop); thePostalCode = this.getPostalCode(); strategy.appendField(locator, this, "postalCode", buffer, thePostalCode);
dest.getAddressLine().add(marshalAddressLine(addressLine)); dest.getBuildingName().add(marshalBuildingName(buildingName)); dest.setFirm(marshalFirm(src.getFirm())); dest.setMailStop(marshalMailStop(src.getMailStop())); dest.setPostalCode(marshalPostalCode(src.getPostalCode())); dest.setSubPremise(marshalSubPremise(src.getSubPremise())); dest.setSubPremiseLocation(marshalSubPremiseLocation(src.getSubPremiseLocation())); dest.getSubPremiseName().add(marshalSubPremiseName(subPremiseName)); dest.getSubPremiseNumber().add(marshalSubPremiseNumber(subPremiseNumber)); dest.getSubPremiseNumberPrefix().add(marshalSubPremiseNumberPrefix(subPremiseNumberPrefix)); dest.getSubPremiseNumberSuffix().add(marshalSubPremiseNumberSuffix(subPremiseNumberSuffix)); dest.setType(src.getType());
public void setSubPremiseName(List<SubPremiseType.SubPremiseName> value) { List<SubPremiseType.SubPremiseName> draftl = this.getSubPremiseName(); draftl.addAll(value); }
public void setSubPremiseNumber(List<SubPremiseType.SubPremiseNumber> value) { List<SubPremiseType.SubPremiseNumber> draftl = this.getSubPremiseNumber(); draftl.addAll(value); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof SubPremiseType) { final SubPremiseType copy = ((SubPremiseType) 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 { sourceSubPremiseName = this.getSubPremiseName(); @SuppressWarnings("unchecked") List<SubPremiseType.SubPremiseName> copySubPremiseName = ((List<SubPremiseType.SubPremiseName> ) strategy.copy(LocatorUtils.property(locator, "subPremiseName", sourceSubPremiseName), sourceSubPremiseName)); copy.subPremiseName = null; List<SubPremiseType.SubPremiseName> uniqueSubPremiseNamel = copy.getSubPremiseName(); uniqueSubPremiseNamel.addAll(copySubPremiseName); } else { sourceSubPremiseLocation = this.getSubPremiseLocation(); SubPremiseType.SubPremiseLocation copySubPremiseLocation = ((SubPremiseType.SubPremiseLocation) strategy.copy(LocatorUtils.property(locator, "subPremiseLocation", sourceSubPremiseLocation), sourceSubPremiseLocation)); copy.setSubPremiseLocation(copySubPremiseLocation); } else { copy.subPremiseLocation = null; sourceSubPremiseNumber = this.getSubPremiseNumber(); @SuppressWarnings("unchecked")
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; lhsSubPremiseName = this.getSubPremiseName(); List<SubPremiseType.SubPremiseName> rhsSubPremiseName; rhsSubPremiseName = that.getSubPremiseName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "subPremiseName", lhsSubPremiseName), LocatorUtils.property(thatLocator, "subPremiseName", rhsSubPremiseName), lhsSubPremiseName, rhsSubPremiseName)) { return false; lhsSubPremiseLocation = this.getSubPremiseLocation(); SubPremiseType.SubPremiseLocation rhsSubPremiseLocation; rhsSubPremiseLocation = that.getSubPremiseLocation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "subPremiseLocation", lhsSubPremiseLocation), LocatorUtils.property(thatLocator, "subPremiseLocation", rhsSubPremiseLocation), lhsSubPremiseLocation, rhsSubPremiseLocation)) { return false; lhsSubPremiseNumber = this.getSubPremiseNumber(); List<SubPremiseType.SubPremiseNumber> rhsSubPremiseNumber; rhsSubPremiseNumber = that.getSubPremiseNumber(); if (!strategy.equals(LocatorUtils.property(thisLocator, "subPremiseNumber", lhsSubPremiseNumber), LocatorUtils.property(thatLocator, "subPremiseNumber", rhsSubPremiseNumber), lhsSubPremiseNumber, rhsSubPremiseNumber)) { return false; lhsSubPremiseNumberPrefix = this.getSubPremiseNumberPrefix(); List<SubPremiseType.SubPremiseNumberPrefix> rhsSubPremiseNumberPrefix; rhsSubPremiseNumberPrefix = that.getSubPremiseNumberPrefix(); if (!strategy.equals(LocatorUtils.property(thisLocator, "subPremiseNumberPrefix", lhsSubPremiseNumberPrefix), LocatorUtils.property(thatLocator, "subPremiseNumberPrefix", rhsSubPremiseNumberPrefix), lhsSubPremiseNumberPrefix, rhsSubPremiseNumberPrefix)) { return false;
theAddressLine = this.getAddressLine(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "addressLine", theAddressLine), currentHashCode, theAddressLine); theSubPremiseName = this.getSubPremiseName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subPremiseName", theSubPremiseName), currentHashCode, theSubPremiseName); theSubPremiseLocation = this.getSubPremiseLocation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subPremiseLocation", theSubPremiseLocation), currentHashCode, theSubPremiseLocation); theSubPremiseNumber = this.getSubPremiseNumber(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subPremiseNumber", theSubPremiseNumber), currentHashCode, theSubPremiseNumber); theSubPremiseNumberPrefix = this.getSubPremiseNumberPrefix(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subPremiseNumberPrefix", theSubPremiseNumberPrefix), currentHashCode, theSubPremiseNumberPrefix); theSubPremiseNumberSuffix = this.getSubPremiseNumberSuffix(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subPremiseNumberSuffix", theSubPremiseNumberSuffix), currentHashCode, theSubPremiseNumberSuffix); theBuildingName = this.getBuildingName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "buildingName", theBuildingName), currentHashCode, theBuildingName); theFirm = this.getFirm(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "firm", theFirm), currentHashCode, theFirm); theMailStop = this.getMailStop(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mailStop", theMailStop), currentHashCode, theMailStop); thePostalCode = this.getPostalCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postalCode", thePostalCode), currentHashCode, thePostalCode);
/** * Create an instance of {@link SubPremiseType } * */ public SubPremiseType createSubPremiseType() { return new SubPremiseType(); }
public Object createNewInstance() { return new SubPremiseType(); }