/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - contact@hoteia.com * */ package org.hoteia.qalingo.core.solr.response; import java.util.ArrayList; import java.util.List; import org.apache.solr.client.solrj.response.FacetField; import org.hoteia.qalingo.core.solr.bean.CustomerSolr; public class CustomerResponseBean { public static final String CUSTOMER_SEARCH_FIELD_CODE = "code"; public static final String CUSTOMER_SEARCH_FIELD_FIRSTNAME = "firstname"; public static final String CUSTOMER_SEARCH_FIELD_LASTNAME = "lastname"; private List<CustomerSolr> customerSolrList = new ArrayList<CustomerSolr>(); private List<FacetField> customerSolrFacetFieldList = new ArrayList<FacetField>(); public List<CustomerSolr> getCustomerSolrList() { return customerSolrList; } public void setCustomerSolrList(List<CustomerSolr> customerSolrList) { this.customerSolrList = customerSolrList; } public List<FacetField> getCustomerSolrFacetFieldList() { return customerSolrFacetFieldList; } public void setCustomerSolrFacetFieldList(List<FacetField> customerSolrFacetFieldList) { this.customerSolrFacetFieldList = customerSolrFacetFieldList; } }