Class LifecycleAwareMap<K,V>

java.lang.Object
org.kuali.rice.krad.uif.util.LifecycleAwareMap<K,V>
Type Parameters:
K - map key type
V - map value type
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>, Copyable

public class LifecycleAwareMap<K,V> extends Object implements Map<K,V>, Copyable, Serializable
Map implementation for internal use by a lifecycle element.

Mutability of the map will follow the semantics for the lifecycle element.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • LifecycleAwareMap

      public LifecycleAwareMap(LifecycleElement lifecycleElement)
      Create a new map instance for use with a lifecycle element.
      Parameters:
      lifecycleElement - The lifecycle element to use for mutability checks.
    • LifecycleAwareMap

      public LifecycleAwareMap(LifecycleElement lifecycleElement, Map<K,V> delegate)
      Create a new list instance, based on another list.
      Parameters:
      lifecycleElement - The lifecycle element to use for mutability checks.
      delegate - The list to wrap.
  • Method Details