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
  • Enum Constant Details

  • 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.