Enum Class SqlAttributeName
- All Implemented Interfaces:
Serializable,Comparable<SqlAttributeName>,Constable,SourceAttributeName
Contains the attributes created by the SQLTransformer.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe attribute contains the SQL to define the column.The attribute contains the constraint name if the column contains an enum.The attribute contains all foreign column names in a comma-separated String.The attribute contains all index column names in a comma-separated String.The attribute contains all local column names in a comma-separated String.The attribute contains all primary key columns in a comma-separated String.The attribute contains the name of the constraint defining the primary key of a table.The attribute contains the name of the sequence from which the primary key of the table is generated.The attribute contains the properly escaped and transformed sql value for the element.The attribute contains all unique column names in a comma-separated String.The attribute contains all unique column sizes in a comma-separated String.The unqualified (without schema) table name. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the referenced source element attribute.toString()static SqlAttributeNameReturns the enum constant of this class with the specified name.static SqlAttributeName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNQUALIFIED_NAME
The unqualified (without schema) table name. -
PRIMARY_KEY_COLUMN_NAMES
The attribute contains all primary key columns in a comma-separated String. -
UNIQUE_COLUMN_NAMES
The attribute contains all unique column names in a comma-separated String. -
UNIQUE_COLUMN_SIZES
The attribute contains all unique column sizes in a comma-separated String. -
INDEX_COLUMN_NAMES
The attribute contains all index column names in a comma-separated String. -
LOCAL_COLUMN_NAMES
The attribute contains all local column names in a comma-separated String. -
FOREIGN_COLUMN_NAMES
The attribute contains all foreign column names in a comma-separated String. -
PRIMARY_KEY_CONSTRAINT_NAME
The attribute contains the name of the constraint defining the primary key of a table. -
SEQUENCE_NAME
The attribute contains the name of the sequence from which the primary key of the table is generated. -
DDL_SQL
The attribute contains the SQL to define the column. -
ENUM_CONSTRAINT_NAME
The attribute contains the constraint name if the column contains an enum. -
SQL_VALUE
The attribute contains the properly escaped and transformed sql value for the element.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
Returns the name of the referenced source element attribute.- Specified by:
getNamein interfaceSourceAttributeName- Returns:
- the name of the referenced source element attribute.
-
toString
- Overrides:
toStringin classEnum<SqlAttributeName>
-