Interface WithTagValuesOrStereotypes

    • Method Detail

      • hasStereotype

        boolean hasStereotype​(String stereotypeName)
      • getStereotypes

        Set<String> getStereotypes()
      • addStereotype

        void addStereotype​(String stereotypeName)
      • removeStereotype

        void removeStereotype​(String stereotypeName)
      • getTagValues

        Map<String,​String> getTagValues()
        Returns the tagValues associated with this element. For each entry, the key is the name of the tagValue, the value is the value of the tagValue :-)
        Returns:
        a Map containing all tagValues associated with this element
      • getTagValue

        String getTagValue​(String tagValue)
        Returns the tagValue corresponding to the given name, or null if the element has no associated tagValue for this name.
        Parameters:
        tagValue - tag value key
        Returns:
        the value of the found tagValue, or null if the element has no associated tagValue for this name.
      • addTagValue

        void addTagValue​(String tagValue,
                         String value)
        Adds the given value associated to the tagValue. Note: If a previous tag value was definied, then it will be replaced.
        Parameters:
        tagValue - the name of the tag value
        value - the value to associate
        Since:
        2.1.2
      • hasTagValue

        boolean hasTagValue​(String tagValue)
        Returns whether this element has a tagValue corresponding to the given name, or not.
        Parameters:
        tagValue - tag value name
        Returns:
        a boolean indicating whether this element has a tagValue corresponding to the given name, or not.
      • removeTagValue

        void removeTagValue​(String tagvalue)