Package ghidra.program.model.listing

# Interface FunctionTag

All Superinterfaces:
  `Comparable<FunctionTag>`

All Known Implementing Classes:
  `FunctionTagDB`

public interface FunctionTag extends Comparable<FunctionTag>
Represents a function tag object that can be associated with functions. This maps to the `FunctionTagAdapter` table.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `delete()`
  Deletes this tag from the program
  `String`
  `getComment()`
  Returns the tag comment
  `long`
  `getId()`
  Returns the id of the item
  `String`
  `getName()`
  Returns the tag name
  `void`
  `setComment(String comment)`
  Sets the comment for this tag
  `void`
  `setName(String name)`
  Sets the name of the tag

  ### Methods inherited from interface java.lang.Comparable

  `compareTo`

- ## Method Details

  - ### getId

    long getId()
    Returns the id of the item
    Returns:
      the id of the item

  - ### getName

    String getName()
    Returns the tag name
    Returns:
      the tag name

  - ### getComment

    String getComment()
    Returns the tag comment
    Returns:
      the tag comment

  - ### setName

    void setName(String name)
    Sets the name of the tag
    Parameters:
      `name` - the tag name

  - ### setComment

    void setComment(String comment)
    Sets the comment for this tag
    Parameters:
      `comment` - the tag comment

  - ### delete

    void delete()
    Deletes this tag from the program