|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TorqueSchemaElementName>
org.apache.torque.templates.TorqueSchemaElementName
public enum TorqueSchemaElementName
Contains all element names from the Torque schema. $Id: TorqueSchemaElementName.java 1331196 2012-04-27 02:56:12Z tfischer $
Enum Constant Summary | |
---|---|
COLUMN
element column. |
|
DATABASE
element database. |
|
DOMAIN
element domain. |
|
EXTERNAL_SCHEMA
element external-schema |
|
FOREIGN_KEY
element foreign-key. |
|
ID_METHOD_PARAMETER
element id-method-param. |
|
INCLUDE_SCHEMA
element include-schema |
|
INDEX
element index. |
|
INDEX_COLUMN
element index-column. |
|
INHERITANCE
element inheritance. |
|
REFERENCE
element reference. |
|
TABLE
element table. |
|
UNIQUE
element unique. |
|
UNIQUE_COLUMN
element unique-column. |
|
VIEW
element view. |
Method Summary | |
---|---|
String |
getName()
Returns the name of the element. |
String |
toString()
|
static TorqueSchemaElementName |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TorqueSchemaElementName[] |
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 TorqueSchemaElementName DATABASE
public static final TorqueSchemaElementName INCLUDE_SCHEMA
public static final TorqueSchemaElementName EXTERNAL_SCHEMA
public static final TorqueSchemaElementName DOMAIN
public static final TorqueSchemaElementName TABLE
public static final TorqueSchemaElementName VIEW
public static final TorqueSchemaElementName COLUMN
public static final TorqueSchemaElementName FOREIGN_KEY
public static final TorqueSchemaElementName REFERENCE
public static final TorqueSchemaElementName INHERITANCE
public static final TorqueSchemaElementName ID_METHOD_PARAMETER
public static final TorqueSchemaElementName UNIQUE
public static final TorqueSchemaElementName UNIQUE_COLUMN
public static final TorqueSchemaElementName INDEX
public static final TorqueSchemaElementName INDEX_COLUMN
Method Detail |
---|
public static TorqueSchemaElementName[] values()
for (TorqueSchemaElementName c : TorqueSchemaElementName.values()) System.out.println(c);
public static TorqueSchemaElementName 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 SourceElementName
public String toString()
toString
in class Enum<TorqueSchemaElementName>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |