Interface Addeable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addAttribute​(java.lang.String key, java.lang.String value)
      Tags this object with the given key/value pair.
      boolean containsAttribute​(java.lang.String key)
      Returns true if a value has been added for the given key.
      java.lang.String getAttribute​(java.lang.String key)
      Returns the value for the given key.
      java.util.List<java.lang.String> getAttributeKeys()
      Returns all keys that have been added to this object.
      int getAttributeSize()
      Returns the number of keys that have been added.
    • Method Detail

      • addAttribute

        void addAttribute​(java.lang.String key,
                          java.lang.String value)
        Tags this object with the given key/value pair.
      • getAttributeKeys

        java.util.List<java.lang.String> getAttributeKeys()
        Returns all keys that have been added to this object.
        Returns:
        a list of keys that have been added to this object.
      • getAttribute

        java.lang.String getAttribute​(java.lang.String key)
        Returns the value for the given key.
        Returns:
        the value for the given key or null if no value has been added for the key.
      • containsAttribute

        boolean containsAttribute​(java.lang.String key)
        Returns true if a value has been added for the given key.
        Returns:
        true if a value has been added for the given key.
      • getAttributeSize

        int getAttributeSize()
        Returns the number of keys that have been added.