lhsIdentifierType = this.getIdentifierType(); String rhsIdentifierType; rhsIdentifierType = that.getIdentifierType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "identifierType", lhsIdentifierType), LocatorUtils.property(thatLocator, "identifierType", rhsIdentifierType), lhsIdentifierType, rhsIdentifierType)) { return false;
sourceIdentifierType = this.getIdentifierType(); String copyIdentifierType = ((String) strategy.copy(LocatorUtils.property(locator, "identifierType", sourceIdentifierType), sourceIdentifierType)); copy.setIdentifierType(copyIdentifierType);
lhsIdentifierType = leftObject.getIdentifierType(); String rhsIdentifierType; rhsIdentifierType = rightObject.getIdentifierType(); target.setIdentifierType(((String) strategy.merge(LocatorUtils.property(leftLocator, "identifierType", lhsIdentifierType), LocatorUtils.property(rightLocator, "identifierType", rhsIdentifierType), lhsIdentifierType, rhsIdentifierType)));
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 theIdentifierType; theIdentifierType = this.getIdentifierType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "identifierType", theIdentifierType), currentHashCode, theIdentifierType); } { 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 theIdentifierType; theIdentifierType = this.getIdentifierType(); strategy.appendField(locator, this, "identifierType", buffer, theIdentifierType); } { 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 AddressIdentifier unmarshalAddressIdentifier(AddressDetails.PostalServiceElements.AddressIdentifier src) { AddressIdentifier dest = new AddressIdentifier(); if (src.isSetCode()) dest.setCode(src.getCode()); if (src.isSetContent()) dest.setContent(src.getContent()); if (src.isSetIdentifierType()) dest.setIdentifierType(src.getIdentifierType()); if (src.isSetType()) dest.setType(src.getType()); return dest; }