public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { String theContent; theContent = this.getContent(); strategy.appendField(locator, this, "content", buffer, theContent); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } { String theTypeOccurrence; theTypeOccurrence = this.getTypeOccurrence(); strategy.appendField(locator, this, "typeOccurrence", buffer, theTypeOccurrence); } { String theCode; theCode = this.getCode(); strategy.appendField(locator, this, "code", buffer, theCode); } return buffer; }
public BuildingName unmarshalBuildingName(BuildingNameType src) { BuildingName dest = new BuildingName(); 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; }
lhsContent = this.getContent(); String rhsContent; rhsContent = that.getContent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "content", lhsContent), LocatorUtils.property(thatLocator, "content", rhsContent), lhsContent, rhsContent)) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theContent; theContent = this.getContent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "content", theContent), currentHashCode, theContent); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } { String theTypeOccurrence; theTypeOccurrence = this.getTypeOccurrence(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "typeOccurrence", theTypeOccurrence), currentHashCode, theTypeOccurrence); } { String theCode; theCode = this.getCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "code", theCode), currentHashCode, theCode); } return currentHashCode; }
lhsContent = leftObject.getContent(); String rhsContent; rhsContent = rightObject.getContent(); target.setContent(((String) strategy.merge(LocatorUtils.property(leftLocator, "content", lhsContent), LocatorUtils.property(rightLocator, "content", rhsContent), lhsContent, rhsContent)));
if (this.content!= null) { String sourceContent; sourceContent = this.getContent(); String copyContent = ((String) strategy.copy(LocatorUtils.property(locator, "content", sourceContent), sourceContent)); copy.setContent(copyContent);