public class SearchConfigurationBean extends AbstractSearchConfigurationBean
SearchConfiguration
as JAXB-ready
Java-Bean.Modifier and Type | Field and Description |
---|---|
private Map<String,SearchSourceBean> |
sourceMap |
private List<SearchSourceBean> |
sources |
XML_ELEMENT_SOURCE, XML_ELEMENT_SOURCES
DEFAULT_CONFIGURATION_URL
Constructor and Description |
---|
SearchConfigurationBean()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
SearchSourceBean |
getSource(String id)
This method gets the
SearchSource with the given ID . |
protected Map<String,SearchSourceBean> |
getSourceMap() |
Collection<? extends SearchSource> |
getSources()
This method gets the
Collection of sources . |
void |
setSources(List<SearchSourceBean> sources) |
getFields, getProperties, getRawProperties, getSearchIndex, setFields, setProperties, setSearchIndex
private List<SearchSourceBean> sources
getSources()
private transient Map<String,SearchSourceBean> sourceMap
getSourceMap()
public Collection<? extends SearchSource> getSources()
SearchConfiguration
Collection
of sources
.public SearchSourceBean getSource(String id)
SearchSource
with the given ID
.id
- is the ID
of the requested SearchSource
.SearchSource
or null
if none is configured for the given
id
.public void setSources(List<SearchSourceBean> sources)
sources
- is the sources to setprotected Map<String,SearchSourceBean> getSourceMap()
Copyright © 2001–2016 mmm-Team. All rights reserved.