public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle); } { AttachmentType theAttachmentType; theAttachmentType = this.getAttachmentType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attachmentType", theAttachmentType), currentHashCode, theAttachmentType); } { Object theAttach; theAttach = this.getAttach(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attach", theAttach), currentHashCode, theAttach); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle); } { AttachmentType theAttachmentType; theAttachmentType = this.getAttachmentType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attachmentType", theAttachmentType), currentHashCode, theAttachmentType); } { Object theAttach; theAttach = this.getAttach(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attach", theAttach), currentHashCode, theAttach); } return currentHashCode; }
lhsAttachmentType = this.getAttachmentType(); AttachmentType rhsAttachmentType; rhsAttachmentType = that.getAttachmentType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "attachmentType", lhsAttachmentType), LocatorUtils.property(thatLocator, "attachmentType", rhsAttachmentType), lhsAttachmentType, rhsAttachmentType)) { return false;
lhsAttachmentType = this.getAttachmentType(); AttachmentType rhsAttachmentType; rhsAttachmentType = that.getAttachmentType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "attachmentType", lhsAttachmentType), LocatorUtils.property(thatLocator, "attachmentType", rhsAttachmentType), lhsAttachmentType, rhsAttachmentType)) { return false;