java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,PropertySet>
com.inductiveautomation.ignition.common.sqltags.model.udt.OverrideMap
All Implemented Interfaces:
Mergable<OverrideMap>, Serializable, Cloneable, Map<String,PropertySet>
Direct Known Subclasses:
OverrideMapDiff

public class OverrideMap extends HashMap<String,PropertySet> implements Serializable, Mergable<OverrideMap>
This is a map that connects Member's UID to a set of property overrides.
See Also:
  • Constructor Details

    • OverrideMap

      public OverrideMap()
    • OverrideMap

      public OverrideMap(OverrideMap copy, boolean localOnly)
  • Method Details

    • extend

      public void extend(OverrideMap other)
      Used for applying inheritance, extends our values with those from other. Doesn't mind if other is null.
    • getOrCreate

      public PropertySet getOrCreate(String key)
      Gets the property set, creating it for the key if necessary.
    • merge

      public void merge(OverrideMap other, boolean localOnly)
      Description copied from interface: Mergable
      Merges the values from other collection into this one. Replaces any currently existing value with those from the other set.
      Specified by:
      merge in interface Mergable<OverrideMap>
    • compact

      public void compact()
      Removes any mappings that are empty property sets.