001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.search.server.database; 018 019import com.echothree.model.data.core.server.entity.EntityListItem; 020import com.echothree.util.server.persistence.BaseDatabaseResult; 021 022public class EntityListItemAttributeFacetResult 023 implements BaseDatabaseResult { 024 025 private EntityListItem entityListItem; 026 private Long count; 027 028 /** 029 * Returns the entityListItem. 030 * @return the entityListItem 031 */ 032 public EntityListItem getEntityListItem() { 033 return entityListItem; 034 } 035 036 /** 037 * Sets the entityListItem. 038 * @param entityListItem the entityListItem to set 039 */ 040 public void setEntityListItem(EntityListItem entityListItem) { 041 this.entityListItem = entityListItem; 042 } 043 044 /** 045 * Returns the count. 046 * @return the count 047 */ 048 public Long getCount() { 049 return count; 050 } 051 052 /** 053 * Sets the count. 054 * @param count the count to set 055 */ 056 public void setCount(Long count) { 057 this.count = count; 058 } 059 060}