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; }
lhsResultTypeDisplayName = this.getResultTypeDisplayName(); String rhsResultTypeDisplayName; rhsResultTypeDisplayName = that.getResultTypeDisplayName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "resultTypeDisplayName", lhsResultTypeDisplayName), LocatorUtils.property(thatLocator, "resultTypeDisplayName", rhsResultTypeDisplayName), lhsResultTypeDisplayName, rhsResultTypeDisplayName, (this.resultTypeDisplayName!= null), (that.resultTypeDisplayName!= null))) { return false;
String facetId = getSearchIndexType(resultTypeIndexSearchResponseDto.getResultTypeDisplayName(), bdefActiveIndex, tagActiveIndex); Facet resultTypeFacet = new Facet(facetId, resultTypeIndexSearchResponseDto.getCount(), FacetTypeEnum.RESULT_TYPE.value(), facetId, null); resultTypeFacets.add(resultTypeFacet);
String facetId = getSearchIndexType(resultTypeIndexSearchResponseDto.getResultTypeDisplayName(), bdefActiveIndex, tagActiveIndex); 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 (resultTypeDisplayNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceResultTypeDisplayName; sourceResultTypeDisplayName = this.getResultTypeDisplayName(); String copyResultTypeDisplayName = ((String) strategy.copy(LocatorUtils.property(locator, "resultTypeDisplayName", sourceResultTypeDisplayName), sourceResultTypeDisplayName, (this.resultTypeDisplayName!= null))); copy.setResultTypeDisplayName(copyResultTypeDisplayName);