Package com.ibm.fhir.search.compartment
Class CompartmentCache
- java.lang.Object
-
- com.ibm.fhir.search.compartment.CompartmentCache
-
public class CompartmentCache extends Object
Compartment Cache is a localized class to cache the compartment information and provide helper methods to add to the cache.
-
-
Constructor Summary
Constructors Constructor Description CompartmentCache()
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(String inclusionCode, List<String> params)
add the code and parameters to the given compartment cache.List<String>
getParametersByResourceTypeInCompartment(String resourceType)
get parameters by resource type in the compartment cache.List<String>
getResourceTypesInCompartment()
gets the resource types (codes) in the compartment
-
-
-
Method Detail
-
add
public void add(String inclusionCode, List<String> params)
add the code and parameters to the given compartment cache.- Parameters:
inclusionCode
-params
-
-
getResourceTypesInCompartment
public List<String> getResourceTypesInCompartment()
gets the resource types (codes) in the compartment- Returns:
-
-