Class ChannelMap
java.lang.Object
com.mirth.connect.server.userutil.ChannelMap
A wrapper class for the channel map that checks against the source map in the
get(key) method for legacy support.-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanReturns the value to which the specified key is mapped, or null if this map contains no mapping for the key.inthashCode()booleanisEmpty()keySet()voidintsize()values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ChannelMap
Instantiates a new ChannelMap object.- Parameters:
delegate- The underlying Map to reference for retrieving/setting data.sourceMap- The source map associated with the current connector message. This is used to check against in theget(key)method for legacy support.
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
entrySet
-
equals
-
get
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. If the channel map does not contain the key but the source map does, an error message is logged out notifying the user that the source map should be used instead. -
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-