Interface Tags


  • public interface Tags
    • Method Detail

      • values

        Collection<String> values()
        Returns current collection of tag values.
        Returns:
        collection of tag values
      • add

        void add​(String value)
        Adds new tag
        Parameters:
        tag - new tag to be added
      • get

        Collection<Tag> get()
        Returns current collection of tags.
        Returns:
        collection of tags
      • get

        Tag get​(String id)
        Retrieves tag with given id or null if no tag with given id exists
        Parameters:
        id - identifier of the tag
        Returns:
        tag associated with given id or null
      • remove

        boolean remove​(String id)
        Removes the tag associated with given id
        Parameters:
        id - identifier of the tag