Class CompartmentCache


  • public class CompartmentCache
    extends java.lang.Object
    Information about a single compartment type.
    • Constructor Summary

      Constructors 
      Constructor Description
      CompartmentCache()
      constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String inclusionResourceCode, java.util.List<String> params)
      Add the code and parameters to the given compartment cache.
      java.util.Set<java.lang.String> getParametersByResourceTypeInCompartment​(java.lang.String resourceType)
      Get parameters by resource type in the compartment cache.
      java.util.Set<java.lang.String> getResourceTypesInCompartment()
      Get the resource types (codes) that can be in a compartment of this type.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompartmentCache

        public CompartmentCache()
        constructor
    • Method Detail

      • add

        public void add​(java.lang.String inclusionResourceCode,
                        java.util.List<String> params)
        Add the code and parameters to the given compartment cache.
        Parameters:
        inclusionResourceCode - the name of the resource type that can be within the target compartment type
        params - the inclusion criteria used to determine whether a resource of type inclusionResourceCode is in a target compartment
      • getResourceTypesInCompartment

        public java.util.Set<java.lang.String> getResourceTypesInCompartment()
        Get the resource types (codes) that can be in a compartment of this type.
        Returns:
      • getParametersByResourceTypeInCompartment

        public java.util.Set<java.lang.String> getParametersByResourceTypeInCompartment​(java.lang.String resourceType)
        Get parameters by resource type in the compartment cache.
        Parameters:
        resourceType -
        Returns: