Class UimaVmMessage

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object>, java.util.Map<java.lang.String,​java.lang.Object>, UimaMessage

    public class UimaVmMessage
    extends java.util.concurrent.ConcurrentHashMap<java.lang.String,​java.lang.Object>
    implements UimaMessage
    Wrapper for the Uima message. This wrapper is used for internal messaging between collocated Uima AS service.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap

        java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      UimaVmMessage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBooleanProperty​(java.lang.String aPropertyKey, boolean value)  
      void addIntProperty​(java.lang.String aPropertyKey, int value)  
      void addLongProperty​(java.lang.String aPropertyKey, long value)  
      void addObjectProperty​(java.lang.String aPropertyKey, java.lang.Object value)  
      void addStringCargo​(java.lang.String aCargo)  
      void addStringProperty​(java.lang.String aPropertyKey, java.lang.String value)  
      boolean containsProperty​(java.lang.String propertyKey)  
      boolean getBooleanProperty​(java.lang.String aPropertyKey)  
      int getIntProperty​(java.lang.String propertyKey)  
      long getLongProperty​(java.lang.String propertyKey)  
      java.lang.Object getObjectProperty​(java.lang.String aPropertyKey)  
      java.lang.String getStringCargo()  
      java.lang.String getStringProperty​(java.lang.String propertyKey)  
      MessageContext toMessageContext​(java.lang.String anEndpointName)  
      java.lang.String toString()  
      • Methods inherited from class java.util.concurrent.ConcurrentHashMap

        clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, values
      • Methods inherited from class java.util.AbstractMap

        clone
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UimaVmMessage

        public UimaVmMessage()
    • Method Detail

      • addIntProperty

        public void addIntProperty​(java.lang.String aPropertyKey,
                                   int value)
        Specified by:
        addIntProperty in interface UimaMessage
      • addLongProperty

        public void addLongProperty​(java.lang.String aPropertyKey,
                                    long value)
        Specified by:
        addLongProperty in interface UimaMessage
      • addStringProperty

        public void addStringProperty​(java.lang.String aPropertyKey,
                                      java.lang.String value)
        Specified by:
        addStringProperty in interface UimaMessage
      • containsProperty

        public boolean containsProperty​(java.lang.String propertyKey)
        Specified by:
        containsProperty in interface UimaMessage
      • getIntProperty

        public int getIntProperty​(java.lang.String propertyKey)
        Specified by:
        getIntProperty in interface UimaMessage
      • getStringProperty

        public java.lang.String getStringProperty​(java.lang.String propertyKey)
        Specified by:
        getStringProperty in interface UimaMessage
      • addStringCargo

        public void addStringCargo​(java.lang.String aCargo)
        Specified by:
        addStringCargo in interface UimaMessage
      • getLongProperty

        public long getLongProperty​(java.lang.String propertyKey)
        Specified by:
        getLongProperty in interface UimaMessage
      • addBooleanProperty

        public void addBooleanProperty​(java.lang.String aPropertyKey,
                                       boolean value)
        Specified by:
        addBooleanProperty in interface UimaMessage
      • getBooleanProperty

        public boolean getBooleanProperty​(java.lang.String aPropertyKey)
        Specified by:
        getBooleanProperty in interface UimaMessage
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.concurrent.ConcurrentHashMap<java.lang.String,​java.lang.Object>
      • addObjectProperty

        public void addObjectProperty​(java.lang.String aPropertyKey,
                                      java.lang.Object value)
        Specified by:
        addObjectProperty in interface UimaMessage
      • getObjectProperty

        public java.lang.Object getObjectProperty​(java.lang.String aPropertyKey)
        Specified by:
        getObjectProperty in interface UimaMessage