public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theFieldName; theFieldName = this.getFieldName(); strategy.appendField(locator, this, "fieldName", buffer, theFieldName, (this.fieldName!= null)); } { Integer theFragmentSize; theFragmentSize = this.getFragmentSize(); strategy.appendField(locator, this, "fragmentSize", buffer, theFragmentSize, (this.fragmentSize!= null)); } { List<String> theMatchedFields; theMatchedFields = (((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))?this.getMatchedFields():null); strategy.appendField(locator, this, "matchedFields", buffer, theMatchedFields, ((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))); } { Integer theNumOfFragments; theNumOfFragments = this.getNumOfFragments(); strategy.appendField(locator, this, "numOfFragments", buffer, theNumOfFragments, (this.numOfFragments!= null)); } return buffer; }
lhsNumOfFragments = this.getNumOfFragments(); Integer rhsNumOfFragments; rhsNumOfFragments = that.getNumOfFragments(); if (!strategy.equals(LocatorUtils.property(thisLocator, "numOfFragments", lhsNumOfFragments), LocatorUtils.property(thatLocator, "numOfFragments", rhsNumOfFragments), lhsNumOfFragments, rhsNumOfFragments, (this.numOfFragments!= null), (that.numOfFragments!= null))) { return false;
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theFieldName; theFieldName = this.getFieldName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fieldName", theFieldName), currentHashCode, theFieldName, (this.fieldName!= null)); } { Integer theFragmentSize; theFragmentSize = this.getFragmentSize(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fragmentSize", theFragmentSize), currentHashCode, theFragmentSize, (this.fragmentSize!= null)); } { List<String> theMatchedFields; theMatchedFields = (((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))?this.getMatchedFields():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "matchedFields", theMatchedFields), currentHashCode, theMatchedFields, ((this.matchedFields!= null)&&(!this.matchedFields.isEmpty()))); } { Integer theNumOfFragments; theNumOfFragments = this.getNumOfFragments(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numOfFragments", theNumOfFragments), currentHashCode, theNumOfFragments, (this.numOfFragments!= null)); } return currentHashCode; }
if (highlightFieldConfig.getNumOfFragments() != null) highlightField.numOfFragments(highlightFieldConfig.getNumOfFragments());
if (highlightFieldConfig.getNumOfFragments() != null) highlightField.numOfFragments(highlightFieldConfig.getNumOfFragments());
if (numOfFragmentsShouldBeCopiedAndSet == Boolean.TRUE) { Integer sourceNumOfFragments; sourceNumOfFragments = this.getNumOfFragments(); Integer copyNumOfFragments = ((Integer) strategy.copy(LocatorUtils.property(locator, "numOfFragments", sourceNumOfFragments), sourceNumOfFragments, (this.numOfFragments!= null))); copy.setNumOfFragments(copyNumOfFragments);