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 / canonical (url + "|" + version)
-
-
Field Summary
Fields Modifier and Type Field Description static String
MISSING_EXPRESSION_WARNING
-
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,SearchParameter>>
canonicalEntries()
Set<Map.Entry<String,SearchParameter>>
codeEntries()
Set<String>
getCodes()
void
insert(String code, SearchParameter parameter)
void
insertAll(ParametersMap map)
boolean
isEmpty()
SearchParameter
lookupByCanonical(String searchParameterCanonical)
SearchParameter
lookupByCode(String searchParameterCode)
int
size()
Collection<SearchParameter>
values()
-
-
-
Field Detail
-
MISSING_EXPRESSION_WARNING
public static final String MISSING_EXPRESSION_WARNING
- See Also:
- Constant Field Values
-
-
Method Detail
-
insert
public void insert(String code, SearchParameter parameter)
- Parameters:
code
-parameter
-
-
insertAll
public void insertAll(ParametersMap map)
-
lookupByCode
public SearchParameter lookupByCode(String searchParameterCode)
-
lookupByCanonical
public SearchParameter lookupByCanonical(String searchParameterCanonical)
-
values
public Collection<SearchParameter> values()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
codeEntries
public Set<Map.Entry<String,SearchParameter>> codeEntries()
-
canonicalEntries
public Set<Map.Entry<String,SearchParameter>> canonicalEntries()
-
-