Class UserPropertiesCustomAttributes

  • All Implemented Interfaces:
    java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>

    public class UserPropertiesCustomAttributes
    extends java.lang.Object
    implements java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
    This class remain custom attributes for UserProperties. It is responsible for call UserProperties.setAttributesDirty() for any changed. This class also will remains the synchronization for both methods: UserProperties.getCustomAttributes() and UserProperties.getCustomAttributesMap().
    Since:
    14.0.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Nested Class Summary

      • 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
      UserPropertiesCustomAttributes​(java.util.Map<java.lang.String,​? extends java.util.Map<java.lang.String,​java.lang.String>> map, UserProperties userProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean containsKey​(java.lang.Object key)  
      boolean containsValue​(java.lang.Object value)  
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>> entrySet()  
      boolean equals​(java.lang.Object obj)  
      java.util.Map<java.lang.String,​java.lang.String> get​(java.lang.Object key)  
      java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.List<java.lang.Object>>> getCustomAttributesMap()
      Returns a synchronized map with List format for the values.
      boolean isEmpty()  
      java.util.Set<java.lang.String> keySet()  
      java.util.Map<java.lang.String,​java.lang.String> put​(java.lang.String key, java.util.Map<java.lang.String,​java.lang.String> value)  
      void putAll​(java.util.Map<? extends java.lang.String,​? extends java.util.Map<java.lang.String,​java.lang.String>> m)  
      java.util.Map<java.lang.String,​java.lang.String> remove​(java.lang.Object key)  
      int size()  
      java.util.Collection<java.util.Map<java.lang.String,​java.lang.String>> values()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • UserPropertiesCustomAttributes

        public UserPropertiesCustomAttributes​(java.util.Map<java.lang.String,​? extends java.util.Map<java.lang.String,​java.lang.String>> map,
                                              UserProperties userProperties)
    • Method Detail

      • entrySet

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • put

        public java.util.Map<java.lang.String,​java.lang.String> put​(java.lang.String key,
                                                                          java.util.Map<java.lang.String,​java.lang.String> value)
        Specified by:
        put in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • remove

        public java.util.Map<java.lang.String,​java.lang.String> remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • putAll

        public void putAll​(java.util.Map<? extends java.lang.String,​? extends java.util.Map<java.lang.String,​java.lang.String>> m)
        Specified by:
        putAll in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • size

        public int size()
        Specified by:
        size in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • get

        public java.util.Map<java.lang.String,​java.lang.String> get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • keySet

        public java.util.Set<java.lang.String> keySet()
        Specified by:
        keySet in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • values

        public java.util.Collection<java.util.Map<java.lang.String,​java.lang.String>> values()
        Specified by:
        values in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>
        Overrides:
        equals in class java.lang.Object
      • getCustomAttributesMap

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.List<java.lang.Object>>> getCustomAttributesMap()
        Returns a synchronized map with List format for the values.
        Returns:
        a synchronized map with List format for the values.
        Since:
        14.0.0