Package com.collibra.dgc.core.api.model.workflow.task

# Interface DropdownValue

All Superinterfaces:
  `Entity`, `Serializable`

public interface DropdownValue extends Entity
Represents a dropdown value.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UUID`
  `getId()`
  Returns the id of the dropdown value if it is possible to convert it to `UUID`.
  `String`
  `getIdAsString()`
  Returns the id of the dropdown value.
  `List<String>`
  `getParents()`
  Returns the list of parents.
  `RelationTypeDirection`
  `getRelationTypeDirection()`
  Returns the relation type direction.
  `String`
  `getText()`
  Returns the text.

  ### Methods inherited from interface Entity

  `setId`

- ## Method Details

  - ### getId

    UUID getId()
    Returns the id of the dropdown value if it is possible to convert it to `UUID`.
    Specified by:
      `getId` in interface `Entity`
    Returns:
      the id if it is possible to convert it to `UUID` otherwise null.

  - ### getIdAsString

    String getIdAsString()
    Returns the id of the dropdown value. Should be used instead of `getId()` as this method is able to return every possible id.
    Returns:
      the id of the dropdown value.
    Since:
      5.7.4-F5

  - ### getText

    String getText()
    Returns the text.
    Returns:
      the text

  - ### getParents

    List<String> getParents()
    Returns the list of parents.
    Returns:
      the list of parents

  - ### getRelationTypeDirection

    RelationTypeDirection getRelationTypeDirection()
    Returns the relation type direction. This is only set when the dropdown value represents a relation type
    Returns:
      the relation type direction