public interface Tags
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String value)
    Adds new tag
    get()
    Returns current collection of tags.
    get(String id)
    Retrieves tag with given id or null if no tag with given id exists
    boolean
    Removes the tag associated with given id
    Returns current collection of tag values.
  • Method Details

    • 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