Package com.mirth.connect.userutil
Class ResponseMap
java.lang.Object
com.mirth.connect.userutil.ResponseMap
A wrapper class for the response map which allows users to retrieve values using the proper "d#"
key (where "#" is the destination connector's metadata ID), or by using the actual destination
name.
-
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
-
ResponseMap
Instantiates a new ResponseMap object.- Parameters:
delegate- The underlying Map to reference for retrieving/setting data.destinationIdMap- A Map of destination names and their corresponding "d#" response map keys (where "#" is the destination connector metadata ID).
-
-
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 given key is not contained in the underlying map, this object will traverse the destination name map in an attempt to find the correct key. -
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-