/** * Create an instance of {@link LargeMailUserType } * */ public LargeMailUserType createLargeMailUserType() { return new LargeMailUserType(); }
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); }
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy strategy) { final Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof LargeMailUserType) { final LargeMailUserType copy = ((LargeMailUserType) 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 { sourceLargeMailUserName = this.getLargeMailUserName(); @SuppressWarnings("unchecked") List<LargeMailUserType.LargeMailUserName> copyLargeMailUserName = ((List<LargeMailUserType.LargeMailUserName> ) strategy.copy(LocatorUtils.property(locator, "largeMailUserName", sourceLargeMailUserName), sourceLargeMailUserName)); copy.largeMailUserName = null; List<LargeMailUserType.LargeMailUserName> uniqueLargeMailUserNamel = copy.getLargeMailUserName(); uniqueLargeMailUserNamel.addAll(copyLargeMailUserName); } else { sourceLargeMailUserIdentifier = this.getLargeMailUserIdentifier(); LargeMailUserType.LargeMailUserIdentifier copyLargeMailUserIdentifier = ((LargeMailUserType.LargeMailUserIdentifier) strategy.copy(LocatorUtils.property(locator, "largeMailUserIdentifier", sourceLargeMailUserIdentifier), sourceLargeMailUserIdentifier)); copy.setLargeMailUserIdentifier(copyLargeMailUserIdentifier); } else { copy.largeMailUserIdentifier = null; sourceBuildingName = this.getBuildingName(); @SuppressWarnings("unchecked")
public LargeMailUser unmarshalLargeMailUser(LargeMailUserType src) { LargeMailUser dest = new LargeMailUser(); 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.isSetDepartment()) dest.setDepartment(unmarshalDepartment(src.getDepartment())); if (src.isSetLargeMailUserIdentifier()) dest.setLargeMailUserIdentifier(unmarshalLargeMailUserIdentifier(src.getLargeMailUserIdentifier())); if (src.isSetLargeMailUserName()) { for (LargeMailUserType.LargeMailUserName largeMailUserName : src.getLargeMailUserName()) dest.addLargeMailUserName(unmarshalLargeMailUserName(largeMailUserName)); } if (src.isSetPostalCode()) dest.setPostalCode(unmarshalPostalCode(src.getPostalCode())); if (src.isSetPostBox()) dest.setPostBox(unmarshalPostBox(src.getPostBox())); if (src.isSetThoroughfare()) dest.setThoroughfare(unmarshalThoroughfare(src.getThoroughfare())); if (src.isSetType()) dest.setType(src.getType()); return dest; }
theAddressLine = this.getAddressLine(); strategy.appendField(locator, this, "addressLine", buffer, theAddressLine); theLargeMailUserName = this.getLargeMailUserName(); strategy.appendField(locator, this, "largeMailUserName", buffer, theLargeMailUserName); theLargeMailUserIdentifier = this.getLargeMailUserIdentifier(); strategy.appendField(locator, this, "largeMailUserIdentifier", buffer, theLargeMailUserIdentifier); theBuildingName = this.getBuildingName(); strategy.appendField(locator, this, "buildingName", buffer, theBuildingName); theDepartment = this.getDepartment(); strategy.appendField(locator, this, "department", buffer, theDepartment); thePostBox = this.getPostBox(); strategy.appendField(locator, this, "postBox", buffer, thePostBox); theThoroughfare = this.getThoroughfare(); strategy.appendField(locator, this, "thoroughfare", buffer, theThoroughfare); thePostalCode = this.getPostalCode(); strategy.appendField(locator, this, "postalCode", buffer, thePostalCode); theAny = this.getAny(); strategy.appendField(locator, this, "any", buffer, theAny); theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType);
public LargeMailUserType marshalLargeMailUser(LargeMailUser src) { LargeMailUserType dest = xal.createLargeMailUserType(); if (src.isSetAddressLine()) { for (AddressLine addressLine : src.getAddressLine()) dest.getAddressLine().add(marshalAddressLine(addressLine)); } if (src.isSetBuildingName()) { for (BuildingName buildingName : src.getBuildingName()) dest.getBuildingName().add(marshalBuildingName(buildingName)); } if (src.isSetDepartment()) dest.setDepartment(marshalDepartment(src.getDepartment())); if (src.isSetLargeMailUserIdentifier()) dest.setLargeMailUserIdentifier(marshalLargeMailUserIdentifier(src.getLargeMailUserIdentifier())); if (src.isSetLargeMailUserName()) { for (LargeMailUserName largeMailUserName : src.getLargeMailUserName()) dest.getLargeMailUserName().add(marshalLargeMailUserName(largeMailUserName)); } if (src.isSetPostalCode()) dest.setPostalCode(marshalPostalCode(src.getPostalCode())); if (src.isSetPostBox()) dest.setPostBox(marshalPostBox(src.getPostBox())); if (src.isSetThoroughfare()) dest.setThoroughfare(marshalThoroughfare(src.getThoroughfare())); if (src.isSetType()) dest.setType(src.getType()); return dest; }
public void setLargeMailUserName(List<LargeMailUserType.LargeMailUserName> value) { List<LargeMailUserType.LargeMailUserName> draftl = this.getLargeMailUserName(); 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))); lhsLargeMailUserName = leftObject.getLargeMailUserName(); List<LargeMailUserType.LargeMailUserName> rhsLargeMailUserName; rhsLargeMailUserName = rightObject.getLargeMailUserName(); target.largeMailUserName = null; List<LargeMailUserType.LargeMailUserName> uniqueLargeMailUserNamel = target.getLargeMailUserName(); uniqueLargeMailUserNamel.addAll(((List<LargeMailUserType.LargeMailUserName> ) strategy.merge(LocatorUtils.property(leftLocator, "largeMailUserName", lhsLargeMailUserName), LocatorUtils.property(rightLocator, "largeMailUserName", rhsLargeMailUserName), lhsLargeMailUserName, rhsLargeMailUserName))); lhsLargeMailUserIdentifier = leftObject.getLargeMailUserIdentifier(); LargeMailUserType.LargeMailUserIdentifier rhsLargeMailUserIdentifier; rhsLargeMailUserIdentifier = rightObject.getLargeMailUserIdentifier(); target.setLargeMailUserIdentifier(((LargeMailUserType.LargeMailUserIdentifier) strategy.merge(LocatorUtils.property(leftLocator, "largeMailUserIdentifier", lhsLargeMailUserIdentifier), LocatorUtils.property(rightLocator, "largeMailUserIdentifier", rhsLargeMailUserIdentifier), lhsLargeMailUserIdentifier, rhsLargeMailUserIdentifier))); lhsBuildingName = leftObject.getBuildingName(); List<BuildingNameType> rhsBuildingName; rhsBuildingName = rightObject.getBuildingName(); target.buildingName = null; List<BuildingNameType> uniqueBuildingNamel = target.getBuildingName(); uniqueBuildingNamel.addAll(((List<BuildingNameType> ) strategy.merge(LocatorUtils.property(leftLocator, "buildingName", lhsBuildingName), LocatorUtils.property(rightLocator, "buildingName", rhsBuildingName), lhsBuildingName, rhsBuildingName))); lhsDepartment = leftObject.getDepartment(); Department rhsDepartment; rhsDepartment = rightObject.getDepartment();
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; lhsLargeMailUserName = this.getLargeMailUserName(); List<LargeMailUserType.LargeMailUserName> rhsLargeMailUserName; rhsLargeMailUserName = that.getLargeMailUserName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "largeMailUserName", lhsLargeMailUserName), LocatorUtils.property(thatLocator, "largeMailUserName", rhsLargeMailUserName), lhsLargeMailUserName, rhsLargeMailUserName)) { return false; lhsLargeMailUserIdentifier = this.getLargeMailUserIdentifier(); LargeMailUserType.LargeMailUserIdentifier rhsLargeMailUserIdentifier; rhsLargeMailUserIdentifier = that.getLargeMailUserIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "largeMailUserIdentifier", lhsLargeMailUserIdentifier), LocatorUtils.property(thatLocator, "largeMailUserIdentifier", rhsLargeMailUserIdentifier), lhsLargeMailUserIdentifier, rhsLargeMailUserIdentifier)) { return false; lhsBuildingName = this.getBuildingName(); List<BuildingNameType> rhsBuildingName; rhsBuildingName = that.getBuildingName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "buildingName", lhsBuildingName), LocatorUtils.property(thatLocator, "buildingName", rhsBuildingName), lhsBuildingName, rhsBuildingName)) { return false; lhsDepartment = this.getDepartment(); Department rhsDepartment; rhsDepartment = that.getDepartment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "department", lhsDepartment), LocatorUtils.property(thatLocator, "department", rhsDepartment), lhsDepartment, rhsDepartment)) { return false;
theAddressLine = this.getAddressLine(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "addressLine", theAddressLine), currentHashCode, theAddressLine); theLargeMailUserName = this.getLargeMailUserName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "largeMailUserName", theLargeMailUserName), currentHashCode, theLargeMailUserName); theLargeMailUserIdentifier = this.getLargeMailUserIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "largeMailUserIdentifier", theLargeMailUserIdentifier), currentHashCode, theLargeMailUserIdentifier); theBuildingName = this.getBuildingName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "buildingName", theBuildingName), currentHashCode, theBuildingName); theDepartment = this.getDepartment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "department", theDepartment), currentHashCode, theDepartment); thePostBox = this.getPostBox(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postBox", thePostBox), currentHashCode, thePostBox); theThoroughfare = this.getThoroughfare(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "thoroughfare", theThoroughfare), currentHashCode, theThoroughfare); thePostalCode = this.getPostalCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postalCode", thePostalCode), currentHashCode, thePostalCode); theAny = this.getAny(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType);
/** * Create an instance of {@link LargeMailUserType } * */ public LargeMailUserType createLargeMailUserType() { return new LargeMailUserType(); }
public Object createNewInstance() { return new LargeMailUserType(); }