Enum ColumnType
- All Implemented Interfaces:
Serializable
,Comparable<ColumnType>
Enum defining the types of columns.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdapter column (for join table primary-key).Normal column.Column for AUDIT @CreateTimestamp.Column for AUDIT @CreateUser.Column for (surrogate) datastore id.Column for discriminator.FK column (either 1-1, or 1-N in element, or 1-N join table to element.Column for index position of a list/array.1-N join table column back to owner.Column for multitenancy.Column for soft-delete.Column for AUDIT @UpdateTimestamp.Column for AUDIT @UpdateUser.Column for version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnType
Returns the enum constant of this type with the specified name.static ColumnType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COLUMN
Normal column. -
DATASTOREID_COLUMN
Column for (surrogate) datastore id. -
VERSION_COLUMN
Column for version. -
DISCRIMINATOR_COLUMN
Column for discriminator. -
MULTITENANCY_COLUMN
Column for multitenancy. -
INDEX_COLUMN
Column for index position of a list/array. -
FK_COLUMN
FK column (either 1-1, or 1-N in element, or 1-N join table to element. -
JOIN_OWNER_COLUMN
1-N join table column back to owner. -
ADAPTER_COLUMN
Adapter column (for join table primary-key). -
SOFTDELETE_COLUMN
Column for soft-delete. -
CREATEUSER_COLUMN
Column for AUDIT @CreateUser. -
CREATETIMESTAMP_COLUMN
Column for AUDIT @CreateTimestamp. -
UPDATEUSER_COLUMN
Column for AUDIT @UpdateUser. -
UPDATETIMESTAMP_COLUMN
Column for AUDIT @UpdateTimestamp.
-
-
Constructor Details
-
ColumnType
private ColumnType()
-
-
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
-