Interface ECPProperties

    • Method Detail

      • addProperty

        void addProperty​(java.lang.String key,
                         java.lang.String value)
        Adds a key-value-pair.
        Parameters:
        key - the key of the property
        value - the value of the property
      • removeProperty

        void removeProperty​(java.lang.String key)
        Removes a property.
        Parameters:
        key - of the property to remove
      • getValue

        java.lang.String getValue​(java.lang.String key)
        Get the value of a property identified by this key.
        Parameters:
        key - the key of the property to find
        Returns:
        the value of the property identified by the key or null
      • getKeys

        java.util.Set<java.lang.String> getKeys()
        All stored keys.
        Returns:
        an array of all keys
      • getProperties

        java.util.Collection<java.util.Map.Entry<java.lang.String,​java.lang.String>> getProperties()
        All Properties.
        Returns:
        an array of Key-Value-Pairs
      • hasProperties

        boolean hasProperties()
        Whether any properties are stored.
        Returns:
        true if at least 1 property was added, false otherwise
      • copy

        ECPProperties copy()
        Creates a copy of the current set of properties.
        Returns:
        the copy of the current properties
      • removeObserver

        void removeObserver​(ECPPropertiesObserver changeObserver)
        Removes an ECPPropertiesObserver from the collection of observer which will be notified if a property changes.
        Parameters:
        changeObserver - the observer to remove