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; }
lhsTypeOccurrence = this.getTypeOccurrence(); String rhsTypeOccurrence; rhsTypeOccurrence = that.getTypeOccurrence(); if (!strategy.equals(LocatorUtils.property(thisLocator, "typeOccurrence", lhsTypeOccurrence), LocatorUtils.property(thatLocator, "typeOccurrence", rhsTypeOccurrence), lhsTypeOccurrence, rhsTypeOccurrence)) { 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; }
lhsTypeOccurrence = leftObject.getTypeOccurrence(); String rhsTypeOccurrence; rhsTypeOccurrence = rightObject.getTypeOccurrence(); target.setTypeOccurrence(((String) strategy.merge(LocatorUtils.property(leftLocator, "typeOccurrence", lhsTypeOccurrence), LocatorUtils.property(rightLocator, "typeOccurrence", rhsTypeOccurrence), lhsTypeOccurrence, rhsTypeOccurrence)));
sourceTypeOccurrence = this.getTypeOccurrence(); String copyTypeOccurrence = ((String) strategy.copy(LocatorUtils.property(locator, "typeOccurrence", sourceTypeOccurrence), sourceTypeOccurrence)); copy.setTypeOccurrence(copyTypeOccurrence);