Enum Relation.Direction
- All Implemented Interfaces:
Serializable,Comparable<Relation.Direction>
- Enclosing class:
- Relation
Whether another table is using or is used by the table containing the
Relation.-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final StringThe databaseReflectionkey to use for fetching the name of other table column.(package private) final StringThe databaseReflectionkey to use for fetching the name of other table column.(package private) final StringThe databaseReflectionkey to use for fetching the name of the column in the table containing theRelation.(package private) final StringThe databaseReflectionkey to use for fetching the name of other table column.(package private) final StringThe databaseReflectionkey to use for fetching the name of other table column. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Relation.DirectionReturns 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 containingRelationis using theTableReference.table. -
EXPORT
Foreigner keys of other tables are referencing the primary keys of the table containing theRelation. In other words, the table containingRelationis used byTableReference.table.
-
-
Field Details
-
catalog
The databaseReflectionkey 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 databaseReflectionkey 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 databaseReflectionkey 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 databaseReflectionkey 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 databaseReflectionkey 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
-