Package com.pixelmed.network
Class ApplicationEntityMap
java.lang.Object
java.util.AbstractMap
java.util.TreeMap
com.pixelmed.network.ApplicationEntityMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map
,NavigableMap
,SequencedMap
,SortedMap
This class provides a list of known Application Entities, indexed by AET.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPresentationAddress
(String applicationEntityTitle) Return the presentation address of the specified AE.getPrimaryDeviceType
(String applicationEntityTitle) Return the primary device type of the specified AE.getQueryModel
(String applicationEntityTitle) Return the query model supported by the specified AE.void
put
(String applicationEntityTitle, PresentationAddress presentationAddress, String queryModel, String primaryDeviceType) Add an entry for the specified AE.toString()
Return a String representing this object's value.Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, putFirst, putIfAbsent, putLast, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty
Methods inherited from interface java.util.NavigableMap
reversed
Methods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Constructor Details
-
ApplicationEntityMap
public ApplicationEntityMap()
-
-
Method Details
-
put
public void put(String applicationEntityTitle, PresentationAddress presentationAddress, String queryModel, String primaryDeviceType) Add an entry for the specified AE.
- Parameters:
applicationEntityTitle
- the AE to describepresentationAddress
- the presentation address of the AEqueryModel
- the string label of the query model, or null if AE does not support queries or model is unknownprimaryDeviceType
- the primaryDeviceType (may be multiple comma-separated values), or null if none or unknown
-
put
-
getPresentationAddress
Return the presentation address of the specified AE.
- Parameters:
applicationEntityTitle
-- Returns:
- the presentation address, or null if no such AE
-
getQueryModel
Return the query model supported by the specified AE.
The query model string may be
NetworkApplicationProperties.StudyRootQueryModel
orNetworkApplicationProperties.PatientRootQueryModel
orNetworkApplicationProperties.PatientStudyOnlyQueryModel
.- Parameters:
applicationEntityTitle
-- Returns:
- string label of the query model, or null if no such AE or no AE does not support queries
-
getPrimaryDeviceType
Return the primary device type of the specified AE.
- Parameters:
applicationEntityTitle
-- Returns:
- primary device type, or null if none or not known
-
toString
Return a String representing this object's value.
- Overrides:
toString
in classAbstractMap
- Returns:
- a string representation of the value of this object
-