Package com.collibra.dgc.core.api.model.assignment

# Enum Class RelationTypeDirection

Object
Enum<RelationTypeDirection>
RelationTypeDirection

All Implemented Interfaces:
  `Serializable`, `Comparable<RelationTypeDirection>`, `Constable`

public enum RelationTypeDirection extends Enum<RelationTypeDirection>
Represents a direction of relation type

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BOTH`
  Deprecated, for removal: This API element is subject to removal in a future version.
  `NONE`
  `TO_SOURCE`
  `TO_TARGET`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isBoth()`
  Deprecated, for removal: This API element is subject to removal in a future version.
  `boolean`
  `isInDirection(RelationTypeDirection roleDirection)`
  `boolean`
  `toBoolean()`
  Deprecated, for removal: This API element is subject to removal in a future version.
  `static RelationTypeDirection`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static RelationTypeDirection[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### TO_SOURCE

    public static final RelationTypeDirection TO_SOURCE

  - ### TO_TARGET

    public static final RelationTypeDirection TO_TARGET

  - ### BOTH

    @Deprecated(since="2022.08", forRemoval=true) public static final RelationTypeDirection BOTH
    Deprecated, for removal: This API element is subject to removal in a future version.

  - ### NONE

    public static final RelationTypeDirection NONE

- ## Method Details

  - ### values

    public static RelationTypeDirection[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static RelationTypeDirection valueOf(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
    Parameters:
      `name` - the name of the enum constant to be returned.
    Returns:
      the enum constant with the specified name
    Throws:
      `IllegalArgumentException` - if this enum class has no constant with the specified name
      `NullPointerException` - if the argument is null

  - ### isInDirection

    public boolean isInDirection(RelationTypeDirection roleDirection)

  - ### isBoth

    @Deprecated(since="2022.08", forRemoval=true) public boolean isBoth()
    Deprecated, for removal: This API element is subject to removal in a future version.

  - ### toBoolean

    @Deprecated(since="2022.08", forRemoval=true) public boolean toBoolean()
    Deprecated, for removal: This API element is subject to removal in a future version.