|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ColumnAttributeName>
org.apache.torque.templates.transformer.om.ColumnAttributeName
public enum ColumnAttributeName
Contains the attributes for a column source element which are not defined in the Torque schema.
Enum Constant Summary | |
---|---|
FIELD_OBJECT_TYPE
The object (non-primitive) type for a field. |
|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getName()
getName
in interface SourceAttributeName
public String toString()
toString
in class Enum<ColumnAttributeName>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |