sourceCode = this.getCode(); String copyCode = ((String) strategy.copy(LocatorUtils.property(locator, "code", sourceCode), sourceCode)); copy.setCode(copyCode);
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 theNumberSuffixSeparator; theNumberSuffixSeparator = this.getNumberSuffixSeparator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numberSuffixSeparator", theNumberSuffixSeparator), currentHashCode, theNumberSuffixSeparator); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } { String theCode; theCode = this.getCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "code", theCode), currentHashCode, theCode); } return currentHashCode; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { String theContent; theContent = this.getContent(); strategy.appendField(locator, this, "content", buffer, theContent); } { String theNumberSuffixSeparator; theNumberSuffixSeparator = this.getNumberSuffixSeparator(); strategy.appendField(locator, this, "numberSuffixSeparator", buffer, theNumberSuffixSeparator); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } { String theCode; theCode = this.getCode(); strategy.appendField(locator, this, "code", buffer, theCode); } return buffer; }
public SubPremiseNumberSuffix unmarshalSubPremiseNumberSuffix(SubPremiseType.SubPremiseNumberSuffix src) { SubPremiseNumberSuffix dest = new SubPremiseNumberSuffix(); if (src.isSetContent()) dest.setContent(src.getContent()); if (src.isSetCode()) dest.setCode(src.getCode()); if (src.isSetType()) dest.setType(src.getType()); if (src.isSetNumberSuffixSeparator()) dest.setNumberSuffixSeparator(src.getNumberSuffixSeparator()); return dest; }