Interface Taggable

    • Method Detail

      • getTags

        <T extends TagCollection<T> getTags​(Class<T> classTag)
        Returns the collection of the given class of this Taggable.
        Type Parameters:
        T - the Tag type
        Parameters:
        classTag - the class for the search.
        Returns:
        the collection of the given class
      • isTaggedAs

        boolean isTaggedAs​(Collection<Tag> tags)
        Checks if all the given tags are contained in this Taggable.
        Parameters:
        tags - the tags of interest
        Returns:
        true if all the given tags are contained in this Taggable, false othwerwise
      • isTaggedAs

        boolean isTaggedAs​(Tag... tags)
        Checks if all the given tags are contained in this Taggable.
        Parameters:
        tags - the tags of interest
        Returns:
        true if all the given tags are contained in this Taggable, false othwerwise
      • isTaggedAs

        boolean isTaggedAs​(Tag tag)
        Checks if the given tag are contained in this Taggable.
        Parameters:
        tag - the tag of interest
        Returns:
        true if all the given tags are contained in this Taggable, false othwerwise