Class UserConfigurationDictionary

    • Constructor Detail

    • Method Detail

      • getElements

        public Object getElements​(Object key)
        Gets the element with the specified key.
        Parameters:
        key - The key of the element to get or set.
        Returns:
        The element with the specified key.
      • setElements

        public void setElements​(Object key,
                                Object value)
                         throws Exception
        Sets the element with the specified key.
        Parameters:
        key - The key of the element to get or set
        value - the value
        Throws:
        Exception - the exception
      • addElement

        public void addElement​(Object key,
                               Object value)
                        throws Exception
        Adds an element with the provided key and value to the user configuration dictionary.
        Parameters:
        key - The object to use as the key of the element to add.
        value - The object to use as the value of the element to add.
        Throws:
        Exception - the exception
      • containsKey

        public boolean containsKey​(Object key)
        Determines whether the user configuration dictionary contains an element with the specified key.
        Parameters:
        key - The key to locate in the user configuration dictionary.
        Returns:
        true if the user configuration dictionary contains an element with the key; otherwise false.
      • remove

        public boolean remove​(Object key)
        Removes the element with the specified key from the user configuration dictionary.
        Parameters:
        key - The key of the element to remove.
        Returns:
        true if the element is successfully removed; otherwise false.
      • tryGetValue

        public boolean tryGetValue​(Object key,
                                   OutParam<Object> value)
        Gets the value associated with the specified key.
        Parameters:
        key - The key whose value to get.
        value - When this method returns, the value associated with the specified key, if the key is found; otherwise, null.
        Returns:
        true if the user configuration dictionary contains the key; otherwise false.
      • getCount

        public int getCount()
        Gets the number of elements in the user configuration dictionary.
        Returns:
        the count
      • clear

        public void clear()
        Removes all item from the user configuration dictionary.
      • getEnumerator

        public Iterator<ObjectgetEnumerator()
        Returns an enumerator that iterates through the user configuration dictionary.
        Returns:
        An IEnumerator that can be used to iterate through the user configuration dictionary.
      • getIsDirty

        public boolean getIsDirty()
        Gets the isDirty flag.
        Returns:
        the checks if is dirty
      • setIsDirty

        public void setIsDirty​(boolean value)
        Sets the isDirty flag.
        Parameters:
        value - the new checks if is dirty