Package com.ibm.fhir.search.parameters
Class ParametersMap
- java.lang.Object
-
- com.ibm.fhir.search.parameters.ParametersMap
-
public class ParametersMap extends Object
A multi-key map that indexes a set of search parameters by SearchParameter.code and SearchParameter.url
-
-
Constructor Summary
Constructors Constructor Description ParametersMap()
Construct a ParametersMap from a Bundle of SearchParameter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Map.Entry<String,Set<SearchParameter>>>
codeEntries()
void
insert(String code, SearchParameter parameter)
void
insertAll(ParametersMap map)
boolean
isEmpty()
Set<SearchParameter>
lookupByCode(String searchParameterCode)
SearchParameter
lookupByUrl(String searchParameterUrl)
int
size()
Set<Map.Entry<String,SearchParameter>>
urlEntries()
Collection<SearchParameter>
values()
-
-
-
Method Detail
-
insert
public void insert(String code, SearchParameter parameter)
-
insertAll
public void insertAll(ParametersMap map)
-
lookupByCode
public Set<SearchParameter> lookupByCode(String searchParameterCode)
-
lookupByUrl
public SearchParameter lookupByUrl(String searchParameterUrl)
-
values
public Collection<SearchParameter> values()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
codeEntries
public Set<Map.Entry<String,Set<SearchParameter>>> codeEntries()
-
urlEntries
public Set<Map.Entry<String,SearchParameter>> urlEntries()
-
-