Enum Class ColumnAttributeName
- All Implemented Interfaces:
Serializable,Comparable<ColumnAttributeName>,Constable,SourceAttributeName
Contains the attributes for a column source element which are not
defined in the Torque schema.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe unqualified name of the enum type of the column.The package of the enum type of the column.The unqualified class name of the value contained in enum type of the column.The object (non-primitive) type for a field.Whether to generate an enum type for the column (nb: predefined enums can be defined which need not be generated).Whether this column is an enum.Whether the column is a number column.The name of constant for the column name in the peer class.The column index, 1 based.Whether the column is a primitive column.The fully qualified name of the column, i. e. prefixed with the database schema name if a schema name was given.The getter to get the column from a result set.An instance of the object for the type map. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the referenced source element attribute.toString()static ColumnAttributeNameReturns the enum constant of this class with the specified name.static ColumnAttributeName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRIMITIVE_TYPE
Whether the column is a primitive column. -
NUMBER_TYPE
Whether the column is a number column. -
PEER_COLUMN_NAME
The name of constant for the column name in the peer class. -
QUALIFIED_COLUMN_NAME
The fully qualified name of the column, i. e. prefixed with the database schema name if a schema name was given. -
POSITION
The column index, 1 based. First column 1, second column 2 etc. -
FIELD_OBJECT_TYPE
The object (non-primitive) type for a field. -
RESULT_SET_GETTER
The getter to get the column from a result set. -
SAMPLE_OBJECT
An instance of the object for the type map. -
ENUM_CLASS_NAME
The unqualified name of the enum type of the column. -
ENUM_PACKAGE
The package of the enum type of the column. -
ENUM_VALUE_CLASS_NAME
The unqualified class name of the value contained in enum type of the column. -
GENERATE_ENUM
Whether to generate an enum type for the column (nb: predefined enums can be defined which need not be generated). -
IS_ENUM
Whether this column is an enum.
-
-
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<ColumnAttributeName>
-