public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theResultTypeCode; theResultTypeCode = this.getResultTypeCode(); strategy.appendField(locator, this, "resultTypeCode", buffer, theResultTypeCode, (this.resultTypeCode!= null)); } { long theCount; theCount = this.getCount(); strategy.appendField(locator, this, "count", buffer, theCount, true); } { String theResultTypeDisplayName; theResultTypeDisplayName = this.getResultTypeDisplayName(); strategy.appendField(locator, this, "resultTypeDisplayName", buffer, theResultTypeDisplayName, (this.resultTypeDisplayName!= null)); } return buffer; }
Facet resultTypeFacet = new Facet(facetId, resultTypeIndexSearchResponseDto.getCount(), FacetTypeEnum.RESULT_TYPE.value(), facetId, null); resultTypeFacets.add(resultTypeFacet);
Facet resultTypeFacet = new Facet(facetId, resultTypeIndexSearchResponseDto.getCount(), FacetTypeEnum.RESULT_TYPE.value(), facetId, null); resultTypeFacets.add(resultTypeFacet);
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theResultTypeCode; theResultTypeCode = this.getResultTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resultTypeCode", theResultTypeCode), currentHashCode, theResultTypeCode, (this.resultTypeCode!= null)); } { long theCount; theCount = this.getCount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "count", theCount), currentHashCode, theCount, true); } { String theResultTypeDisplayName; theResultTypeDisplayName = this.getResultTypeDisplayName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resultTypeDisplayName", theResultTypeDisplayName), currentHashCode, theResultTypeDisplayName, (this.resultTypeDisplayName!= null)); } return currentHashCode; }
if (countShouldBeCopiedAndSet == Boolean.TRUE) { long sourceCount; sourceCount = this.getCount(); long copyCount = strategy.copy(LocatorUtils.property(locator, "count", sourceCount), sourceCount, true); copy.setCount(copyCount);