Enum Relation.Direction

java.lang.Object
java.lang.Enum<Relation.Direction>
org.apache.sis.internal.sql.feature.Relation.Direction
All Implemented Interfaces:
Serializable, Comparable<Relation.Direction>, java.lang.constant.Constable
Enclosing class:
Relation

static enum Relation.Direction extends Enum<Relation.Direction>
Whether another table is using or is used by the table containing the Relation.
  • Enum Constant Details

  • Field Details

    • catalog

      final String catalog
      The database Reflection key to use for fetching the name of other table column. That column is part of a primary key if the direction is IMPORT, or part of a foreigner key if the direction is EXPORT.
    • schema

      final String schema
      The database Reflection key to use for fetching the name of other table column. That column is part of a primary key if the direction is IMPORT, or part of a foreigner key if the direction is EXPORT.
    • table

      final String table
      The database Reflection key to use for fetching the name of other table column. That column is part of a primary key if the direction is IMPORT, or part of a foreigner key if the direction is EXPORT.
    • column

      final String column
      The database Reflection key to use for fetching the name of other table column. That column is part of a primary key if the direction is IMPORT, or part of a foreigner key if the direction is EXPORT.
    • containerColumn

      final String containerColumn
      The database Reflection key to use for fetching the name of the column in the table containing the Relation. That column is part of a foreigner key if the direction is IMPORT, or part of a primary key if the direction is EXPORT.
  • Constructor Details

    • Direction

      private Direction(String catalog, String schema, String table, String column, String containerColumn)
      Creates a new Direction enumeration value.
  • Method Details

    • values

      public static Relation.Direction[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Relation.Direction valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null