Enum Relation.Direction
- All Implemented Interfaces:
Serializable
,Comparable<Relation.Direction>
,java.lang.constant.Constable
- Enclosing class:
- Relation
Whether another table is using or is used by the table containing the
Relation
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final String
The databaseReflection
key to use for fetching the name of other table column.(package private) final String
The databaseReflection
key to use for fetching the name of other table column.(package private) final String
The databaseReflection
key to use for fetching the name of the column in the table containing theRelation
.(package private) final String
The databaseReflection
key to use for fetching the name of other table column.(package private) final String
The databaseReflection
key to use for fetching the name of other table column. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Relation.Direction
Returns the enum constant of this type with the specified name.static Relation.Direction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IMPORT
Primary keys of other tables are referenced by the foreigner keys of the table containing theRelation
. In other words, the table containingRelation
is using theTableReference.table
. -
EXPORT
Foreigner keys of other tables are referencing the primary keys of the table containing theRelation
. In other words, the table containingRelation
is used byTableReference.table
.
-
-
Field Details
-
catalog
The databaseReflection
key to use for fetching the name of other table column. That column is part of a primary key if the direction isIMPORT
, or part of a foreigner key if the direction isEXPORT
. -
schema
The databaseReflection
key to use for fetching the name of other table column. That column is part of a primary key if the direction isIMPORT
, or part of a foreigner key if the direction isEXPORT
. -
table
The databaseReflection
key to use for fetching the name of other table column. That column is part of a primary key if the direction isIMPORT
, or part of a foreigner key if the direction isEXPORT
. -
column
The databaseReflection
key to use for fetching the name of other table column. That column is part of a primary key if the direction isIMPORT
, or part of a foreigner key if the direction isEXPORT
. -
containerColumn
The databaseReflection
key to use for fetching the name of the column in the table containing theRelation
. That column is part of a foreigner key if the direction isIMPORT
, or part of a primary key if the direction isEXPORT
.
-
-
Constructor Details
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-