public enum ColumnAttributeName extends Enum<ColumnAttributeName> implements SourceAttributeName
Enum Constant and Description |
---|
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.
|
FIELD_OBJECT_TYPE
The object (non-primitive) type for a field.
|
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.
|
NUMBER_TYPE
Whether the column is a number column.
|
PEER_COLUMN_NAME
The name of constant for the column name in the peer class.
|
POSITION
The column index, 1 based.
|
PRIMITIVE_TYPE
Whether the column is a primitive column.
|
QUALIFIED_COLUMN_NAME
The fully qualified name of the column,
i.
|
RESULT_SET_GETTER
The getter to get the column from a result set.
|
SAMPLE_OBJECT
An instance of the object for the type map.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the referenced source element attribute.
|
String |
toString() |
static ColumnAttributeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnAttributeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnAttributeName PRIMITIVE_TYPE
public static final ColumnAttributeName NUMBER_TYPE
public static final ColumnAttributeName PEER_COLUMN_NAME
public static final ColumnAttributeName QUALIFIED_COLUMN_NAME
public static final ColumnAttributeName POSITION
public static final ColumnAttributeName FIELD_OBJECT_TYPE
public static final ColumnAttributeName RESULT_SET_GETTER
public static final ColumnAttributeName SAMPLE_OBJECT
public static final ColumnAttributeName ENUM_CLASS_NAME
public static final ColumnAttributeName ENUM_PACKAGE
public static final ColumnAttributeName ENUM_VALUE_CLASS_NAME
public static final ColumnAttributeName GENERATE_ENUM
public static final ColumnAttributeName IS_ENUM
public static ColumnAttributeName[] values()
for (ColumnAttributeName c : ColumnAttributeName.values()) System.out.println(c);
public static ColumnAttributeName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
getName
in interface SourceAttributeName
public String toString()
toString
in class Enum<ColumnAttributeName>
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.