public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theTagCode; theTagCode = this.getTagCode(); strategy.appendField(locator, this, "tagCode", buffer, theTagCode, (this.tagCode!= null)); } { long theCount; theCount = this.getCount(); strategy.appendField(locator, this, "count", buffer, theCount, true); } { String theTagDisplayName; theTagDisplayName = this.getTagDisplayName(); strategy.appendField(locator, this, "tagDisplayName", buffer, theTagDisplayName, (this.tagDisplayName!= null)); } return buffer; }
lhsTagDisplayName = this.getTagDisplayName(); String rhsTagDisplayName; rhsTagDisplayName = that.getTagDisplayName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "tagDisplayName", lhsTagDisplayName), LocatorUtils.property(thatLocator, "tagDisplayName", rhsTagDisplayName), lhsTagDisplayName, rhsTagDisplayName, (this.tagDisplayName!= null), (that.tagDisplayName!= null))) { return false;
/** * create tag index search response facet * * @param tagTypeIndexSearchResponseDto response dto * * @return tag type facet */ private Facet createTagTypeFacet(TagTypeIndexSearchResponseDto tagTypeIndexSearchResponseDto) { List<Facet> tagFacets = new ArrayList<>(); if (tagTypeIndexSearchResponseDto.getTagIndexSearchResponseDtos() != null) { for (TagIndexSearchResponseDto tagIndexSearchResponseDto : tagTypeIndexSearchResponseDto.getTagIndexSearchResponseDtos()) { long facetCount = tagIndexSearchResponseDto.getCount(); Facet tagFacet = new Facet(tagIndexSearchResponseDto.getTagDisplayName(), facetCount, FacetTypeEnum.TAG.value(), tagIndexSearchResponseDto.getTagCode(), null); tagFacets.add(tagFacet); } } return new Facet(tagTypeIndexSearchResponseDto.getDisplayName(), null, FacetTypeEnum.TAG_TYPE.value(), tagTypeIndexSearchResponseDto.getCode(), tagFacets); }
/** * create tag index search response facet * * @param tagTypeIndexSearchResponseDto response dto * * @return tag type facet */ private Facet createTagTypeFacet(TagTypeIndexSearchResponseDto tagTypeIndexSearchResponseDto) { List<Facet> tagFacets = new ArrayList<>(); if (tagTypeIndexSearchResponseDto.getTagIndexSearchResponseDtos() != null) { for (TagIndexSearchResponseDto tagIndexSearchResponseDto : tagTypeIndexSearchResponseDto.getTagIndexSearchResponseDtos()) { long facetCount = tagIndexSearchResponseDto.getCount(); Facet tagFacet = new Facet(tagIndexSearchResponseDto.getTagDisplayName(), facetCount, FacetTypeEnum.TAG.value(), tagIndexSearchResponseDto.getTagCode(), null); tagFacets.add(tagFacet); } } return new Facet(tagTypeIndexSearchResponseDto.getDisplayName(), null, FacetTypeEnum.TAG_TYPE.value(), tagTypeIndexSearchResponseDto.getCode(), tagFacets); }
new Facet(tagIndexDto.getTagDisplayName(), tagIndexDto.getCount(), FacetTypeEnum.TAG.value(), tagIndexDto.getTagCode(), null));
new Facet(tagIndexDto.getTagDisplayName(), tagIndexDto.getCount(), FacetTypeEnum.TAG.value(), tagIndexDto.getTagCode(), null));
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theTagCode; theTagCode = this.getTagCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tagCode", theTagCode), currentHashCode, theTagCode, (this.tagCode!= null)); } { long theCount; theCount = this.getCount(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "count", theCount), currentHashCode, theCount, true); } { String theTagDisplayName; theTagDisplayName = this.getTagDisplayName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tagDisplayName", theTagDisplayName), currentHashCode, theTagDisplayName, (this.tagDisplayName!= null)); } return currentHashCode; }
if (tagDisplayNameShouldBeCopiedAndSet == Boolean.TRUE) { String sourceTagDisplayName; sourceTagDisplayName = this.getTagDisplayName(); String copyTagDisplayName = ((String) strategy.copy(LocatorUtils.property(locator, "tagDisplayName", sourceTagDisplayName), sourceTagDisplayName, (this.tagDisplayName!= null))); copy.setTagDisplayName(copyTagDisplayName);