public BuildingNameType marshalBuildingName(BuildingName src) { BuildingNameType dest = xal.createBuildingNameType(); if (src.isSetContent()) dest.setContent(src.getContent()); if (src.isSetCode()) dest.setCode(src.getCode()); if (src.isSetType()) dest.setType(src.getType()); if (src.isSetTypeOccurrence()) dest.setTypeOccurrence(src.getTypeOccurrence()); return dest; }
sourceContent = this.getContent(); String copyContent = ((String) strategy.copy(LocatorUtils.property(locator, "content", sourceContent), sourceContent)); copy.setContent(copyContent); } else { copy.content = null;
String rhsContent; rhsContent = rightObject.getContent(); target.setContent(((String) strategy.merge(LocatorUtils.property(leftLocator, "content", lhsContent), LocatorUtils.property(rightLocator, "content", rhsContent), lhsContent, rhsContent)));